[hg] galaxy 1596: A fix for the metadata reverting issue seen wi...
details: http://www.bx.psu.edu/hg/galaxy/rev/36a297157114 changeset: 1596:36a297157114 user: Dan Blankenberg <dan@bx.psu.edu> date: Mon Nov 03 14:48:25 2008 -0500 description: A fix for the metadata reverting issue seen with PBS job runner. 1 file(s) affected in this change: lib/galaxy/jobs/__init__.py diffs (18 lines): diff -r 56bc2f789894 -r 36a297157114 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py Sat Nov 01 15:30:13 2008 -0400 +++ b/lib/galaxy/jobs/__init__.py Mon Nov 03 14:48:25 2008 -0500 @@ -274,6 +274,7 @@ Prepare the job to run by creating the working directory and the config files. """ + mapping.context.current.clear() #this prevents the metadata reverting that has been seen in conjunction with the PBS job runner # Create the working directory self.working_directory = \ os.path.join( self.app.config.job_working_directory, str( self.job_id ) ) @@ -643,4 +644,4 @@ def put( self, *args ): return def shutdown( self ): - return \ No newline at end of file + return
participants (1)
-
Nate Coraor