Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
2e14c41
1
Parent(s):
b6ac303
Allow custom shared julia project
Browse files- pysr/julia_helpers.py +3 -0
pysr/julia_helpers.py
CHANGED
@@ -118,6 +118,9 @@ def _process_julia_project(julia_project):
|
|
118 |
if julia_project is None:
|
119 |
is_shared = True
|
120 |
julia_project = f"pysr-{__version__}"
|
|
|
|
|
|
|
121 |
else:
|
122 |
is_shared = False
|
123 |
julia_project = Path(julia_project)
|
|
|
118 |
if julia_project is None:
|
119 |
is_shared = True
|
120 |
julia_project = f"pysr-{__version__}"
|
121 |
+
elif julia_project[0] == "@":
|
122 |
+
is_shared = True
|
123 |
+
julia_project = julia_project[1:]
|
124 |
else:
|
125 |
is_shared = False
|
126 |
julia_project = Path(julia_project)
|