File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ def start_restart():
357357 raise RuntimeError("SCR_Start_restart failed")
358358 return _pystr(ptr)
359359
360- def complete_restart(valid):
360+ def complete_restart(valid=True ):
361361 """Close a restart phase after reading checkpoint files.
362362
363363 Each calling process must indicate whether it restarted successfully.
@@ -366,9 +366,9 @@ def complete_restart(valid):
366366
367367 Parameters
368368 ----------
369- valid : bool
369+ valid : bool, optional
370370 pass True if calling process read restart successfully,
371- False otherwise
371+ False otherwise (default True)
372372
373373 Returns
374374 -------
@@ -448,7 +448,7 @@ def start_output(name, flags):
448448 if rc != _libscr.SCR_SUCCESS:
449449 raise RuntimeError("SCR_Start_output failed")
450450
451- def complete_output(valid):
451+ def complete_output(valid=True ):
452452 """Close an output phase.
453453
454454 Each calling process must indicate whether it wrote its portion
@@ -458,9 +458,9 @@ def complete_output(valid):
458458
459459 Parameters
460460 ----------
461- valid : bool
461+ valid : bool, optional
462462 pass True if calling process wrote its output successfully,
463- False otherwise
463+ False otherwise (default True)
464464
465465 Returns
466466 -------
You can’t perform that action at this time.
0 commit comments