File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -308,9 +308,13 @@ def init_master(self):
308308 if pp .footprint_mode :
309309 if pp .N_turns != pp .N_turns_target :
310310 raise ValueError ('In footprint mode you need to set N_turns_target=N_turns_per_run!' )
311-
311+
312+ check_for_resubmit = True
313+ if hasattr (pp , 'check_for_resubmit' ):
314+ check_for_resubmit = pp .check_for_resubmit
312315 import PyPARIS_sim_class .Save_Load_Status as SLS
313- SimSt = SLS .SimulationStatus (N_turns_per_run = pp .N_turns , check_for_resubmit = True , N_turns_target = pp .N_turns_target )
316+ SimSt = SLS .SimulationStatus (N_turns_per_run = pp .N_turns , check_for_resubmit = check_for_resubmit ,
317+ N_turns_target = pp .N_turns_target )
314318 SimSt .before_simulation ()
315319 self .SimSt = SimSt
316320
Original file line number Diff line number Diff line change 1+ :-)
You can’t perform that action at this time.
0 commit comments