Skip to content

Commit 053ab85

Browse files
committed
Another attempt to remove duplications included in softwareApplication
1 parent 44db318 commit 053ab85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

wfexs_backend/ro_crate.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2009,12 +2009,12 @@ def _add_workflow_to_crate(
20092009
)
20102010
for added_container in added_containers:
20112011
# Add containers as addons which were used
2012-
if was_workflow_run:
2013-
the_workflow_crate.append_to(
2014-
"softwareRequirements", added_container, compact=True
2015-
)
20162012
if added_container not in existing_containers:
20172013
existing_containers.append(added_container)
2014+
if was_workflow_run:
2015+
the_workflow_crate.append_to(
2016+
"softwareRequirements", added_container, compact=True
2017+
)
20182018
if materialized_engine.operational_containers is not None:
20192019
added_operational_containers = self._add_containers(
20202020
materialized_engine.operational_containers,

0 commit comments

Comments
 (0)