commit/galaxy-central: jmchilton: Workflow running - modify var names/comment to reflect 773951eb2bbf.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f1c9df0b5cab/ Changeset: f1c9df0b5cab User: jmchilton Date: 2014-04-21 15:36:43 Summary: Workflow running - modify var names/comment to reflect 773951eb2bbf. Affected #: 1 file diff -r 773951eb2bbf082842fdacc00901e4506d846acb -r f1c9df0b5cabb998dd82dc6a154f66677173ffb8 lib/galaxy/workflow/run.py --- a/lib/galaxy/workflow/run.py +++ b/lib/galaxy/workflow/run.py @@ -69,9 +69,9 @@ # Web controller will populate stateful modules on each step before calling invoke # but not API controller. More work should be done to further harmonize these methods # going forward if possible - if possible moving more web controller logic here. - modules_populated = not self.workflow.steps or hasattr( self.workflow.steps[ 0 ], "state" ) - if not modules_populated: - self._populate_modules( ) + state_populated = not self.workflow.steps or hasattr( self.workflow.steps[ 0 ], "state" ) + if not state_populated: + self._populate_state( ) for step in self.workflow.steps: job = None @@ -164,7 +164,7 @@ replacement = outputs[ connection[ 0 ].output_step.id ][ connection[ 0 ].output_name ] return replacement - def _populate_modules( self ): + def _populate_state( self ): # Build the state for each step for step in self.workflow.steps: step_errors = None Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org