commit/galaxy-central: natefoo: Properly handle PBS' -q argument.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/51b4282dce3a/ Changeset: 51b4282dce3a Branch: stable User: natefoo Date: 2013-11-15 20:18:09 Summary: Properly handle PBS' -q argument. Affected #: 1 file diff -r 84f9600dc305cd5d47aef72f260826f89e6872eb -r 51b4282dce3a411d02b982d1cca137884d5f6c2b lib/galaxy/jobs/runners/pbs.py --- a/lib/galaxy/jobs/runners/pbs.py +++ b/lib/galaxy/jobs/runners/pbs.py @@ -47,7 +47,7 @@ """ PBS_ARGMAP = { - 'destination' : '-d', + 'destination' : '-q', 'Execution_Time' : '-a', 'Account_Name' : '-A', 'Checkpoint' : '-c', @@ -210,6 +210,8 @@ pbs_queue_name = None pbs_server_name = self.default_pbs_server pbs_options = [] + if '-q' in job_destination.params and 'destination' not in job_destination.params: + job_destination.params['destination'] = job_destination.params.pop('-q') if 'destination' in job_destination.params: if '@' in job_destination.params['destination']: # Destination includes a server 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)
-
commits-noreply@bitbucket.org