commit/galaxy-central: dannon: Tools/Workflows: Handle loading saved tool states that may not have rerun_remap_job_id in state.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d6d2f0287e6f/ Changeset: d6d2f0287e6f User: dannon Date: 2013-06-18 18:20:18 Summary: Tools/Workflows: Handle loading saved tool states that may not have rerun_remap_job_id in state. Affected #: 1 file diff -r f3fed61f4575620827fbf992781ef230bb9042ba -r d6d2f0287e6ff6d3dc2e4cf3ed4778b77e2abda9 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -848,7 +848,10 @@ # Restore from string values = json_fix( simplejson.loads( value ) ) self.page = values.pop( "__page__" ) - self.rerun_remap_job_id = values.pop( "__rerun_remap_job_id__" ) + if '__rerun_remap_job_id__' in values: + self.rerun_remap_job_id = values.pop( "__rerun_remap_job_id__" ) + else: + self.rerun_remap_job_id = None self.inputs = params_from_strings( tool.inputs, values, app, ignore_errors=True ) class ToolOutput( object ): 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