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
Holland Computing Center
chipathlon
Commits
ff84032d
Commit
ff84032d
authored
Jun 08, 2017
by
aknecht2
Browse files
Fixed minor bug with duplicate dependencies being added to the workflow.
parent
1fa9a9d1
Changes
1
Show whitespace changes
Inline
Side-by-side
chipathlon/workflow_module.py
View file @
ff84032d
...
...
@@ -254,7 +254,10 @@ class WorkflowModule(object):
master_jobs
[
param_dict
[
"name"
]]
=
job
for
logical_name
,
param_dict
in
job_inputs
.
iteritems
():
if
param_dict
[
"name"
]
in
master_jobs
:
dax
.
depends
(
child
=
job
,
parent
=
master_jobs
[
param_dict
[
"name"
]])
dep
=
Dependency
(
child
=
job
,
parent
=
master_jobs
[
param_dict
[
"name"
]])
# Prevent duplicate dependencies from being created
if
not
dax
.
hasDependency
(
dep
):
dax
.
addDependency
(
dep
)
else
:
print
msg
return
...
...
Write
Preview
Supports
Markdown
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