Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
f2e0980
1
Parent(s):
671509b
Include dataset in pip wheel
Browse files- pysr/feynman_problems.py +1 -2
- setup.py +1 -1
pysr/feynman_problems.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import numpy as np
|
2 |
import csv
|
3 |
import traceback
|
4 |
-
from sr import pysr, best
|
5 |
|
6 |
class Problem:
|
7 |
"""
|
@@ -79,7 +79,6 @@ class FeynmanProblem(Problem):
|
|
79 |
ret.append(p)
|
80 |
except Exception as e:
|
81 |
traceback.print_exc()
|
82 |
-
#print(row)
|
83 |
print(f"FAILED ON ROW {i}")
|
84 |
ind += 1
|
85 |
return ret
|
|
|
1 |
import numpy as np
|
2 |
import csv
|
3 |
import traceback
|
4 |
+
from .sr import pysr, best
|
5 |
|
6 |
class Problem:
|
7 |
"""
|
|
|
79 |
ret.append(p)
|
80 |
except Exception as e:
|
81 |
traceback.print_exc()
|
|
|
82 |
print(f"FAILED ON ROW {i}")
|
83 |
ind += 1
|
84 |
return ret
|
setup.py
CHANGED
@@ -19,7 +19,7 @@ setuptools.setup(
|
|
19 |
],
|
20 |
packages=setuptools.find_packages(),
|
21 |
package_data={
|
22 |
-
'pysr': ['../Project.toml']
|
23 |
},
|
24 |
include_package_data=False,
|
25 |
classifiers=[
|
|
|
19 |
],
|
20 |
packages=setuptools.find_packages(),
|
21 |
package_data={
|
22 |
+
'pysr': ['../Project.toml', '../datasets/*']
|
23 |
},
|
24 |
include_package_data=False,
|
25 |
classifiers=[
|