commit/galaxy-central: natefoo: Make 'paused' a terminal state so that the history no longer polls for updates when it contains paused datasets.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/94627de62528/ changeset: 94627de62528 user: natefoo date: 2012-11-15 17:21:13 summary: Make 'paused' a terminal state so that the history no longer polls for updates when it contains paused datasets. affected #: 2 files diff -r a478d3fb1d07fd929f22ba55e90ee96a81393cf3 -r 94627de6252824193ff0ff659807d17e59e4f94f lib/galaxy/jobs/handler.py --- a/lib/galaxy/jobs/handler.py +++ b/lib/galaxy/jobs/handler.py @@ -195,7 +195,7 @@ job.state = model.Job.states.PAUSED for dataset_assoc in job.output_datasets + job.output_library_datasets: dataset_assoc.dataset.dataset.state = model.Dataset.states.PAUSED - dataset_assoc.dataset.blurb = "Execution of this dataset's job is paused because you were over your disk quota at the time it was ready to run" + dataset_assoc.dataset.info = "Execution of this dataset's job is paused because you were over your disk quota at the time it was ready to run" self.sa_session.add( dataset_assoc.dataset.dataset ) self.sa_session.add( job ) else: diff -r a478d3fb1d07fd929f22ba55e90ee96a81393cf3 -r 94627de6252824193ff0ff659807d17e59e4f94f templates/root/history.mako --- a/templates/root/history.mako +++ b/templates/root/history.mako @@ -30,7 +30,7 @@ <script type="text/javascript"> -<% TERMINAL_STATES = ["ok", "error", "empty", "deleted", "discarded", "failed_metadata"] %> +<% TERMINAL_STATES = ["ok", "error", "empty", "deleted", "discarded", "failed_metadata", "paused"] %> TERMINAL_STATES = ${ h.to_json_string(TERMINAL_STATES) }; // Tag handling. @@ -708,4 +708,4 @@ </div></body> -</html> \ No newline at end of file +</html> 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