MilesCranmer commited on
Commit
2cca15f
·
1 Parent(s): e43d3a9

Changed format for equation filenames

Browse files
Files changed (2) hide show
  1. pysr/sr.py +1 -1
  2. setup.py +1 -1
pysr/sr.py CHANGED
@@ -779,7 +779,7 @@ def get_hof(equation_file=None, n_features=None, variable_names=None,
779
 
780
  try:
781
  if multioutput:
782
- all_outputs = [pd.read_csv(f'out{i}_' + str(equation_file) + '.bkup', sep="|") for i in range(1, nout+1)]
783
  else:
784
  all_outputs = [pd.read_csv(str(equation_file) + '.bkup', sep="|")]
785
  except FileNotFoundError:
 
779
 
780
  try:
781
  if multioutput:
782
+ all_outputs = [pd.read_csv(str(equation_file) + f'.out{i}' + '.bkup', sep="|") for i in range(1, nout+1)]
783
  else:
784
  all_outputs = [pd.read_csv(str(equation_file) + '.bkup', sep="|")]
785
  except FileNotFoundError:
setup.py CHANGED
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
 
6
  setuptools.setup(
7
  name="pysr",
8
- version="0.6.2",
9
  author="Miles Cranmer",
10
  author_email="miles.cranmer@gmail.com",
11
  description="Simple and efficient symbolic regression",
 
5
 
6
  setuptools.setup(
7
  name="pysr",
8
+ version="0.6.3",
9
  author="Miles Cranmer",
10
  author_email="miles.cranmer@gmail.com",
11
  description="Simple and efficient symbolic regression",