File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ def run(name):
118
118
119
119
# ****************************** TASKS ON SIMULATION CAMPAIGN ******************************
120
120
@task
121
- @expand_file (TEMPLATES_FOLDER , 'json' )
121
+ @expand_file (EXPERIMENT_FOLDER , 'json' )
122
122
def make_all (exp_file = "experiments" ):
123
123
global reuse_bin_path
124
124
for name , params in get_experiments (exp_file ).items ():
@@ -134,7 +134,7 @@ def prepare(exp_file='my_simulation'):
134
134
135
135
136
136
@task
137
- @expand_file (TEMPLATES_FOLDER , 'json' )
137
+ @expand_file (EXPERIMENT_FOLDER , 'json' )
138
138
def run_all (exp_file = "experiments" ):
139
139
for name in get_experiments (exp_file ).keys ():
140
140
run (name )
Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ def get_experiments(exp_file):
124
124
exp_file += ".json"
125
125
if not os .path .exists (exp_file ):
126
126
logging .critical ("Simulation campaign JSON file does not exist !" )
127
+ logging .warning ("Make sure you've generated a JSON simulation campaign file by using 'prepare' fabric command." )
127
128
exit (2 )
128
129
with open (exp_file ) as f :
129
130
experiments = json .load (f )
You can’t perform that action at this time.
0 commit comments