Commit 8045de26 authored by Christoph Arthofer's avatar Christoph Arthofer
Browse files

solved bug with inverse lesion mask

parent c5559e31
......@@ -852,7 +852,7 @@ if __name__ == "__main__":
kwargs=None,
clean="never")
jobcmd = jobcmd + '\n'
jobcmd = jobcmd + 'fslmaths ' + tree.get('data/lesion_mask_in_T1') + ' -bin ' + tree.get('inverse_lesion_mask_in_T1') + '\n'
jobcmd = jobcmd + 'fslmaths ' + tree.get('data/lesion_mask_in_T1') + ' -bin -mul -1 -add 1 ' + tree.get('inverse_lesion_mask_in_T1') + '\n'
f.write(jobcmd)
job_ids[0] = submitJob(tag+'_'+task_name, log_dir, script=script_path, queue=cpuq)
# job_ids[0] = submitJob(script_path, tag+'_'+task_name, log_dir, queue=cpuq, wait_for=None, array_task=True)
......
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