MilesCranmer commited on
Commit
80fecb9
1 Parent(s): 7f24ebe

Correct function name

Browse files
Files changed (1) hide show
  1. pysr/julia_helpers.py +2 -2
pysr/julia_helpers.py CHANGED
@@ -126,7 +126,7 @@ def _process_julia_project(julia_project):
126
  def is_julia_version_greater_eq(juliainfo=None, version=(1, 6, 0)):
127
  """Check if Julia version is greater than specified version."""
128
  if juliainfo is None:
129
- juliainfo = load_juliainfo()
130
  current_version = (
131
  juliainfo.version_major,
132
  juliainfo.version_minor,
@@ -206,7 +206,7 @@ def _add_sr_to_julia_project(Main, io_arg):
206
 
207
 
208
  def _escape_filename(filename):
209
- """Turns a file into a string representation with correctly escaped backslashes"""
210
  str_repr = str(filename)
211
  str_repr = str_repr.replace("\\", "\\\\")
212
  return str_repr
 
126
  def is_julia_version_greater_eq(juliainfo=None, version=(1, 6, 0)):
127
  """Check if Julia version is greater than specified version."""
128
  if juliainfo is None:
129
+ juliainfo = _load_juliainfo()
130
  current_version = (
131
  juliainfo.version_major,
132
  juliainfo.version_minor,
 
206
 
207
 
208
  def _escape_filename(filename):
209
+ """Turn a path into a string with correctly escaped backslashes."""
210
  str_repr = str(filename)
211
  str_repr = str_repr.replace("\\", "\\\\")
212
  return str_repr