commit/galaxy-central: smcmanus: Store exit_code in database for jobs and tasks
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/de2c99ce5f74/ changeset: de2c99ce5f74 user: smcmanus date: 2012-10-01 17:42:10 summary: Store exit_code in database for jobs and tasks affected #: 1 file diff -r 035583d94b11200276aed333a859b8e49b64429f -r de2c99ce5f749582c3ce3bfb02422588c70b1a06 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py +++ b/lib/galaxy/jobs/__init__.py @@ -440,6 +440,7 @@ if len( job.stderr ) > 32768: log.error( "stderr for job %d is greater than 32K, only first part will be logged to database" % job.id ) job.stderr = job.stderr[:32768] + job.exit_code = tool_exit_code # custom post process setup inp_data = dict( [ ( da.name, da.dataset ) for da in job.input_datasets ] ) out_data = dict( [ ( da.name, da.dataset ) for da in job.output_datasets ] ) @@ -1060,9 +1061,9 @@ if len( stderr ) > 32768: log.error( "stderr for job %d is greater than 32K, only first part will be logged to database" % task.id ) task.stderr = stderr[:32768] + task.exit_code = tool_exit_code task.command_line = self.command_line self.sa_session.flush() - log.debug( 'task %d ended' % self.task_id ) def cleanup( self ): # There is no task cleanup. The job cleans up for all tasks. 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