[hg] galaxy 1702: Set the working directory in the wrapper when ...
details: http://www.bx.psu.edu/hg/galaxy/rev/b868c8d902d2 changeset: 1702:b868c8d902d2 user: Nate Coraor <nate@bx.psu.edu> date: Wed Jan 14 08:43:00 2009 -0500 description: Set the working directory in the wrapper when recovering jobs at startup. 1 file(s) affected in this change: lib/galaxy/jobs/__init__.py diffs (12 lines): diff -r c3a20d503bd3 -r b868c8d902d2 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py Tue Jan 13 12:18:08 2009 -0500 +++ b/lib/galaxy/jobs/__init__.py Wed Jan 14 08:43:00 2009 -0500 @@ -125,6 +125,8 @@ if job.job_runner_name is not None: # why are we passing the queue to the wrapper? job_wrapper = JobWrapper( job, self.app.toolbox.tools_by_id[ job.tool_id ], self ) + job_wrapper.working_directory = \ + os.path.join( self.app.config.job_working_directory, str( job.id ) ) self.dispatcher.recover( job, job_wrapper ) def __monitor( self ):
participants (1)
-
Nate Coraor