Skip to content

Commit

Permalink
Merge aa6ec29 into 0eb612c
Browse files Browse the repository at this point in the history
  • Loading branch information
youngmit committed Jan 13, 2020
2 parents 0eb612c + aa6ec29 commit f5c71b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions armi/cases/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ def dependencies(self):
r"^(?P<dirName>.*[\/\\])?(?P<title>[^\/\\]+)-SHUFFLES\.txt$",
)
)
# ensure that a case doesn't appear to be its own dependency
dependencies.discard(self)

return dependencies

Expand Down Expand Up @@ -282,6 +284,12 @@ def setUpTaskDependence(self):
Set the task dependence based on the :code:`dependencies`.
This accounts for whether or not the dependency is enabled.
Note
----
This is a leftover from before the release of the ARMI framework. The API of the
proprietary cluster communication library is being used here. This should either
be moved out into the cluster plugin, or the library should be made available.
"""
if not self.enabled:
return
Expand Down

0 comments on commit f5c71b6

Please sign in to comment.