Skip to content

Commit

Permalink
Removal of _stage_linear since it is now not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Di Natale committed Oct 31, 2018
1 parent 3857ce2 commit 511a21e
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions maestrowf/datastructures/core/study.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def configure_study(self, submission_attempts=1, restart_limit=1,
use_tmp, hash_ws
)

def _stage_parameterized(self, dag):
def _stage(self, dag):
"""
Set up the ExecutionGraph of a parameterized study.
Expand Down Expand Up @@ -794,11 +794,4 @@ def stage(self):
dag.add_description(**self.description)
dag.log_description()

# We have two cases:
# 1. Parameterized workflows
# 2. A linear, execute as specified workflow
# NOTE: This scheme could be how we handle derived use cases.
if self.parameters:
return self._out_path, self._stage_parameterized(dag)
else:
return self._out_path, self._stage_linear(dag)
return self._out_path, self._stage(dag)

0 comments on commit 511a21e

Please sign in to comment.