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
4d65e120
Commit
4d65e120
authored
Jul 23, 2021
by
Christoph Arthofer
Browse files
latest version
parent
c31b5533
Changes
1
Hide whitespace changes
Inline
Side-by-side
run_template_construction.py
View file @
4d65e120
...
...
@@ -368,7 +368,7 @@ def averageImages(img_paths, out_path, mod='average', norm_bool=False):
@param img_paths: List of filepaths
@param out_path: Path to average/median output image
@param mod
e
: Choose between 'average' or 'median' image.
@param mod:
Choose between 'average' or 'median' image.
@param norm_bool: Normalise intensities of each image before averaging true or false
"""
...
...
@@ -965,7 +965,7 @@ if __name__ == "__main__":
f
.
write
(
cmd
)
# job_ids[6] = submitJob(tag+'_'+task_name, log_dir, script=script_path, queue=cpuq,
# wait_for=[job_ids[4]])
job_ids
[
6
]
=
submitJob
(
script_path
,
tag
+
'_'
+
task_name
,
log_dir
,
queue
=
cpuq
,
wait_for
=
[
job_ids
[
4
]]
,
job_ids
[
6
]
=
submitJob
(
script_path
,
tag
+
'_'
+
task_name
,
log_dir
,
queue
=
cpuq
,
wait_for
=
list
(
itemgetter
(
*
[
2
,
4
])(
job_ids
))
,
array_task
=
True
)
print
(
'submitted: '
+
task_name
)
...
...
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