Skip to content

Commit 93fdb7a

Browse files
author
Christos Kotsalos
committed
Add python models to the modeldb-run.yaml : 18 models so far based on the mosinit.py & run.py files
1 parent 71aa41f commit 93fdb7a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

modeldb/modeldb-run.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,13 +1115,6 @@
11151115
script:
11161116
- sed -i 's/tstop = 550/tstop = 100/' HAM_SR1.ses
11171117
# python models
1118-
189922:
1119-
python: true
1120-
run:
1121-
- import os; os.system("python mosinit.py"); quit();
1122-
script:
1123-
- 2to3 -w .
1124-
- sed -i 's/plt.show()/plt.show(block=False);plt.pause(1);plt.close();quit()/' clay_mohit.py
11251118
# find * -name mosinit.py
11261119
156039:
11271120
python: true
@@ -1157,6 +1150,9 @@
11571150
python: true
11581151
run:
11591152
- import os; os.system("python mosinit.py"); quit();
1153+
script:
1154+
- 2to3 -w .
1155+
- sed -i 's/plt.show()/plt.show(block=False);plt.pause(1);plt.close();quit()/' clay_mohit.py
11601156
195615:
11611157
python: true
11621158
run:
@@ -1243,4 +1239,3 @@
12431239
model_dir: mod
12441240
run:
12451241
- import os; os.system("python run.py param/gamma_L5weak_L2weak.param"); quit();
1246-
#241165: AberraEtAl2018

0 commit comments

Comments
 (0)