MilesCranmer commited on
Commit
10f05a3
1 Parent(s): 038eaaf

Add missing DaemonMode.jl

Browse files
Files changed (2) hide show
  1. Project.toml +0 -1
  2. pysr/sr.py +1 -0
Project.toml CHANGED
@@ -1,5 +1,4 @@
1
  [deps]
2
- DaemonMode = "d749ddd5-2b29-4920-8305-6ff5a704e36e"
3
  SymbolicRegression = "8254be44-1295-4e6a-a16d-46603ac705cb"
4
 
5
  [compat]
 
1
  [deps]
 
2
  SymbolicRegression = "8254be44-1295-4e6a-a16d-46603ac705cb"
3
 
4
  [compat]
pysr/sr.py CHANGED
@@ -484,6 +484,7 @@ def _start_julia_daemon(
484
  return
485
 
486
  s = "import Pkg;"
 
487
  if need_install:
488
  s += "Pkg.instantiate();"
489
  s += "Pkg.update();"
 
484
  return
485
 
486
  s = "import Pkg;"
487
+ s += 'Pkg.add("DaemonMode");'
488
  if need_install:
489
  s += "Pkg.instantiate();"
490
  s += "Pkg.update();"