Commit 5b650129 authored by Christoph Arthofer's avatar Christoph Arthofer
Browse files

fsl_sub changed

parent b199340a
......@@ -433,8 +433,7 @@ def applyWarpWrapper(img_path, ref_path, warped_path, warp_path, interp='spline'
# https://git.fmrib.ox.ac.uk/fsl/fsl_sub
def submitJob(command, name, log_dir, queue, wait_for=None, array_task=False, coprocessor=None, coprocessor_class=None,
coprocessor_multi="1", threads=1, export_var=None):
def submitJob(command, name, log_dir, queue, wait_for=None, array_task=False, coprocessor=None, coprocessor_class=None, coprocessor_multi="1", threads=1, export_var=None):
coprocessor_class_strict = True if coprocessor_class is not None else False
job_id = fsl_sub.submit(command=command,
......@@ -1422,7 +1421,7 @@ if __name__ == "__main__":
# export_var=export_var_str['SINGULARITY_BIND'], debug=False)
job_ids[28] = submitJob(script_path, tag + '_' + task_name, log_dir, queue=gpuq,
wait_for=list(itemgetter(*[21, 23, 24, 25, 26, 27, 28, 44, 45, 46, 47, 48, 50])(job_ids)),
array_task=True, coprocessor='cuda', export_var=[export_var_str['SINGULARITY_BIND']])
array_task=True, coprocessor='cuda', coprocessor_class=None, coprocessor_multi="1", threads=1, export_var=[export_var_str['SINGULARITY_BIND']])
print('submitted: ' + task_name)
# Averaging warps
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment