Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christoph Arthofer
ms_templates
Commits
8045de26
Commit
8045de26
authored
Oct 13, 2021
by
Christoph Arthofer
Browse files
solved bug with inverse lesion mask
parent
c5559e31
Changes
1
Hide whitespace changes
Inline
Side-by-side
run_template_construction.py
View file @
8045de26
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment