Spaces:
Running
Running
MilesCranmer
commited on
Correct arguments
Browse files- gui/run_pysr_and_save.py +5 -5
gui/run_pysr_and_save.py
CHANGED
@@ -20,11 +20,11 @@ empty_df = pd.DataFrame(
|
|
20 |
|
21 |
if __name__ == "__main__":
|
22 |
parser = ArgumentParser()
|
23 |
-
parser.add_argument("niterations", type=int)
|
24 |
-
parser.add_argument("binary_operators", type=str)
|
25 |
-
parser.add_argument("unary_operators", type=str)
|
26 |
-
parser.add_argument("col_to_fit", type=str)
|
27 |
-
parser.add_argument("filename", type=str)
|
28 |
args = parser.parse_args()
|
29 |
niterations = args.niterations
|
30 |
binary_operators = eval(args.binary_operators)
|
|
|
20 |
|
21 |
if __name__ == "__main__":
|
22 |
parser = ArgumentParser()
|
23 |
+
parser.add_argument("--niterations", type=int)
|
24 |
+
parser.add_argument("--binary_operators", type=str)
|
25 |
+
parser.add_argument("--unary_operators", type=str)
|
26 |
+
parser.add_argument("--col_to_fit", type=str)
|
27 |
+
parser.add_argument("--filename", type=str)
|
28 |
args = parser.parse_args()
|
29 |
niterations = args.niterations
|
30 |
binary_operators = eval(args.binary_operators)
|