commit/galaxy-central: 2 new changesets

2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/d4aab233e2fd/ changeset: d4aab233e2fd user: dan date: 2012-10-18 17:22:12 summary: Unhide failed output datasets. affected #: 1 file diff -r ef498097758501bb1d174eaebeca1f11f9251360 -r d4aab233e2fd2195236a38fa6905c77e6bf61187 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -239,6 +239,7 @@ dataset.info = message dataset.set_size() dataset.dataset.set_total_size() + dataset.mark_unhidden() if dataset.ext == 'auto': dataset.extension = 'data' # Update (non-library) job output datasets through the object store @@ -379,6 +380,7 @@ # job's state: if job.states.ERROR == job.state: dataset.blurb = "error" + dataset.mark_unhidden() elif dataset.has_data(): # If the tool was expected to set the extension, attempt to retrieve it if dataset.ext == 'auto': https://bitbucket.org/galaxy/galaxy-central/changeset/12fcd068b12e/ changeset: 12fcd068b12e user: dan date: 2012-10-18 17:22:12 summary: Do not hide failed datasets with HideDatasetAction post job action. affected #: 1 file diff -r d4aab233e2fd2195236a38fa6905c77e6bf61187 -r 12fcd068b12eb844d7eded11bd70826c4275021c lib/galaxy/jobs/actions/post.py --- a/lib/galaxy/jobs/actions/post.py +++ b/lib/galaxy/jobs/actions/post.py @@ -230,7 +230,7 @@ @classmethod def execute(cls, app, sa_session, action, job, replacement_dict): for dataset_assoc in job.output_datasets: - if action.output_name == '' or dataset_assoc.name == action.output_name: + if dataset_assoc.dataset.state != dataset_assoc.dataset.states.ERROR and ( action.output_name == '' or dataset_assoc.name == action.output_name ): dataset_assoc.dataset.visible=False @classmethod 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)
-
Bitbucket