Spaces:
Running
Running
Mark Kittisopikul
commited on
Commit
•
7e5102a
1
Parent(s):
d09ade8
Install SymbolicRegressions.jl and ClusterManagers.jl in a single step
Browse files- pysr/julia_helpers.py +1 -2
pysr/julia_helpers.py
CHANGED
@@ -110,13 +110,12 @@ def _add_sr_to_julia_project(Main, io_arg):
|
|
110 |
url="https://github.com/MilesCranmer/SymbolicRegression.jl",
|
111 |
rev="v" + __symbolic_regression_jl_version__,
|
112 |
)
|
113 |
-
Main.eval(f"Pkg.add(sr_spec, {io_arg})")
|
114 |
Main.clustermanagers_spec = Main.PackageSpec(
|
115 |
name="ClusterManagers",
|
116 |
url="https://github.com/JuliaParallel/ClusterManagers.jl",
|
117 |
rev="14e7302f068794099344d5d93f71979aaf4fbeb3",
|
118 |
)
|
119 |
-
Main.eval(f"Pkg.add(clustermanagers_spec, {io_arg})")
|
120 |
|
121 |
|
122 |
def _escape_filename(filename):
|
|
|
110 |
url="https://github.com/MilesCranmer/SymbolicRegression.jl",
|
111 |
rev="v" + __symbolic_regression_jl_version__,
|
112 |
)
|
|
|
113 |
Main.clustermanagers_spec = Main.PackageSpec(
|
114 |
name="ClusterManagers",
|
115 |
url="https://github.com/JuliaParallel/ClusterManagers.jl",
|
116 |
rev="14e7302f068794099344d5d93f71979aaf4fbeb3",
|
117 |
)
|
118 |
+
Main.eval(f"Pkg.add([sr_spec, clustermanagers_spec], {io_arg})")
|
119 |
|
120 |
|
121 |
def _escape_filename(filename):
|