diff --git a/reduction_tools/partialator.py b/reduction_tools/partialator.py index c41486b..578606e 100644 --- a/reduction_tools/partialator.py +++ b/reduction_tools/partialator.py @@ -355,8 +355,11 @@ def main( cwd, name, stream, pointgroup, model, iterations, cell, shells, part_h # now run the check and compare scripts print( "running check/compare" ) - submit_cmd = [ "{0}".format( check_run_file ) ] - subprocess.call( submit_cmd ) + check_job_id = submit_job( check_run_file, reservation ) + print( f"job submitted: {0}".format( check_job_id ) ) + submitted_job_ids.add( check_job_id ) + time.sleep(10) + wait_for_jobs( submitted_job_ids, 1 ) print( "done" ) # stats files names