MilesCranmer commited on
Commit
61ee61c
·
unverified ·
1 Parent(s): 22c66be

Ensure registry is up-to-date

Browse files
Files changed (1) hide show
  1. pysr/julia_helpers.py +1 -0
pysr/julia_helpers.py CHANGED
@@ -259,6 +259,7 @@ def init_julia(julia_project=None, quiet=False, julia_kwargs=None, return_aux=Fa
259
 
260
  def _add_sr_to_julia_project(Main, io_arg):
261
  Main.eval("using Pkg")
 
262
  Main.sr_spec = Main.PackageSpec(
263
  name="SymbolicRegression",
264
  url="https://github.com/MilesCranmer/SymbolicRegression.jl",
 
259
 
260
  def _add_sr_to_julia_project(Main, io_arg):
261
  Main.eval("using Pkg")
262
+ Main.eval("Pkg.Registry.update()")
263
  Main.sr_spec = Main.PackageSpec(
264
  name="SymbolicRegression",
265
  url="https://github.com/MilesCranmer/SymbolicRegression.jl",