commit/galaxy-central: smcmanus: Added exit_code columns for the Job and Task tables, as well as a migration script
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/f76eaed275e6/ changeset: f76eaed275e6 user: smcmanus date: 2012-09-29 05:26:53 summary: Added exit_code columns for the Job and Task tables, as well as a migration script affected #: 2 files diff -r 578c082d9b46689268aa4a0cd4d29327f84d2791 -r f76eaed275e6999fbe0cb575f95647fb168ed37f lib/galaxy/model/__init__.py --- a/lib/galaxy/model/__init__.py +++ b/lib/galaxy/model/__init__.py @@ -134,6 +134,7 @@ self.post_job_actions = [] self.imported = False self.handler = None + self.exit_code = 0 # TODO: Add accessors for members defined in SQL Alchemy for the Job table and # for the mapper defined to the Job table. @@ -319,6 +320,7 @@ # SM: Using default empty strings avoids None exceptions later on. self.stdout = "" self.stderr = "" + self.exit_code = 0 self.prepare_input_files_cmd = prepare_files_cmd def get_param_values( self, app ): diff -r 578c082d9b46689268aa4a0cd4d29327f84d2791 -r f76eaed275e6999fbe0cb575f95647fb168ed37f lib/galaxy/model/mapping.py --- a/lib/galaxy/model/mapping.py +++ b/lib/galaxy/model/mapping.py @@ -435,6 +435,7 @@ Column( "runner_name", String( 255 ) ), Column( "stdout", TEXT ), Column( "stderr", TEXT ), + Column( "exit_code", Integer, nullable=True ), Column( "traceback", TEXT ), Column( "session_id", Integer, ForeignKey( "galaxy_session.id" ), index=True, nullable=True ), Column( "user_id", Integer, ForeignKey( "galaxy_user.id" ), index=True, nullable=True ), @@ -529,6 +530,7 @@ Column( "runner_name", String( 255 ) ), Column( "stdout", TEXT ), Column( "stderr", TEXT ), + Column( "exit_code", Integer, nullable=True ), Column( "info", TrimmedString ( 255 ) ), Column( "traceback", TEXT ), Column( "job_id", Integer, ForeignKey( "job.id" ), index=True, nullable=False ), 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