1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a9d90d2d13e1/ Changeset: a9d90d2d13e1 User: jmchilton Date: 2013-11-13 23:37:11 Summary: LWR: Expand user properties (__user_name__, __user_email__, __user_id__) in job params before creating client. This was final piece of puzzle for running jobs as real user through LWR. Now on just needs to add <param id="submit_user">$__user_name__</param> to LWR destination in job_conf.xml on Galaxy side to pass this information to the LWR. More complicated on the LWR side obviously, need to configure DRMAA, set job manager to be 'queued_external_drmaa', and setup sudo rules. Will add some details to LWR documentation shortly. Affected #: 1 file diff -r 521b4ff9060b72f1f8c9f5977f8c4fa2b0bd7877 -r a9d90d2d13e121ffda929baa6ffab6ee43e8892f lib/galaxy/jobs/runners/lwr.py --- a/lib/galaxy/jobs/runners/lwr.py +++ b/lib/galaxy/jobs/runners/lwr.py @@ -108,7 +108,10 @@ job_id = job_wrapper.job_id if hasattr(job_wrapper, 'task_id'): job_id = "%s_%s" % (job_id, job_wrapper.task_id) - return self.get_client( job_wrapper.job_destination.params, job_id ) + params = job_wrapper.job_destination.params.copy() + for key, value in params.iteritems(): + params[key] = model.User.expand_user_properties( job_wrapper.get_job().user, value ) + return self.get_client( params, job_id ) def get_client_from_state(self, job_state): job_destination_params = job_state.job_destination.params 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.