File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1028,6 +1028,8 @@ def plot_metrics(**args):
10281028 args ['metric_base_path' ] + 'metrics-' + run_id_no_suff + args ['suffix_id_name' ] + '.npy'
10291029 ]
10301030
1031+ print ('Model paths for performance plots: ' , model_paths )
1032+
10311033 # Load metrics
10321034 try :
10331035 metrics = [np .load (_path , allow_pickle = True )[()] for _path in model_paths ]
@@ -1321,15 +1323,15 @@ def plot_optimisation_metrics(**args):
13211323 optim_hist_file + 'optim_hist_' + run_id_no_suff + str (args ['suffix_id_name' ]) + '.npy'
13221324 ]
13231325
1324- print ('Model paths: ' , model_paths )
1326+ print ('Model paths for optimisation plots : ' , model_paths )
13251327
13261328 try :
13271329 # Load metrics
13281330 metrics = [np .load (_path , allow_pickle = True )[()] for _path in model_paths ]
13291331 except FileNotFoundError :
13301332 print ('The required file for the plots was not found.' )
13311333 print ('Probably I am not the last job for plotting the optimisation metrics.' )
1332- raise FileNotFoundError
1334+ raise 0
13331335
13341336 ## Plot the first parametric cycle
13351337 cycle_str = 'param_cycle1'
You can’t perform that action at this time.
0 commit comments