Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
b463028
1
Parent(s):
51c7840
Fix date formatting for windows
Browse files- pysr/sr.py +1 -1
- setup.py +1 -1
pysr/sr.py
CHANGED
@@ -198,7 +198,7 @@ def pysr(X=None, y=None, weights=None,
|
|
198 |
if maxdepth is None:
|
199 |
maxdepth = maxsize
|
200 |
if equation_file is None:
|
201 |
-
date_time = datetime.now().strftime("%
|
202 |
equation_file = 'hall_of_fame_' + date_time + '.csv'
|
203 |
|
204 |
if isinstance(X, pd.DataFrame):
|
|
|
198 |
if maxdepth is None:
|
199 |
maxdepth = maxsize
|
200 |
if equation_file is None:
|
201 |
+
date_time = datetime.now().strftime("%Y-%m-%d_%H%M%S.%f")[:-3]
|
202 |
equation_file = 'hall_of_fame_' + date_time + '.csv'
|
203 |
|
204 |
if isinstance(X, pd.DataFrame):
|
setup.py
CHANGED
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
5 |
|
6 |
setuptools.setup(
|
7 |
name="pysr", # Replace with your own username
|
8 |
-
version="0.3.
|
9 |
author="Miles Cranmer",
|
10 |
author_email="[email protected]",
|
11 |
description="Simple and efficient symbolic regression",
|
|
|
5 |
|
6 |
setuptools.setup(
|
7 |
name="pysr", # Replace with your own username
|
8 |
+
version="0.3.34",
|
9 |
author="Miles Cranmer",
|
10 |
author_email="[email protected]",
|
11 |
description="Simple and efficient symbolic regression",
|