You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseRuntimeError("No data files with name "+file_name+' found')
524
-
iflen(files) >1:
525
-
raiseRuntimeError("Found more than one files with the name "+file_name)
526
-
self.sim_data_files.append(files[0])
520
+
iflen(self.sim_data_files) !=self.num_samples:
521
+
raiseRuntimeError(f'Number of simulation data files found ({len(self.sim_data_files)}) does not match the expected number of samples ({self.num_samples})')
527
522
528
523
defload_sim_data(self):
529
524
"""Load the simulation data from the simulation data files.
@@ -552,17 +547,22 @@ def load_param_data(self):
552
547
"""
553
548
Load parameter data from a table written in a text file.
0 commit comments