commit/galaxy-central: natefoo: Only include the username in the job name when not running as a system user.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/e4e1c621b025/ changeset: e4e1c621b025 user: natefoo date: 2012-10-03 19:43:38 summary: Only include the username in the job name when not running as a system user. affected #: 1 file diff -r f16e60e79638a9ebe18f9daedb3d82ce405a1986 -r e4e1c621b025b4f0b09846e9d4410d2630394470 lib/galaxy/jobs/runners/drmaa.py --- a/lib/galaxy/jobs/runners/drmaa.py +++ b/lib/galaxy/jobs/runners/drmaa.py @@ -184,7 +184,9 @@ ofile = "%s.drmout" % os.path.join(job_wrapper.working_directory, job_wrapper.get_id_tag()) efile = "%s.drmerr" % os.path.join(job_wrapper.working_directory, job_wrapper.get_id_tag()) ecfile = "%s.drmec" % os.path.join(job_wrapper.working_directory, job_wrapper.get_id_tag()) - job_name = "g%s_%s_%s" % ( job_wrapper.job_id, job_wrapper.tool.id, job_wrapper.user ) + job_name = "g%s_%s" % ( job_wrapper.job_id, job_wrapper.tool.id ) + if self.external_runJob_script is None: + job_name = "%s_%s" % ( job_name, job_wrapper.user ) job_name = ''.join( map( lambda x: x if x in ( string.letters + string.digits + '_' ) else '_', job_name ) ) jt = self.ds.createJobTemplate() 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