details: http://www.bx.psu.edu/hg/galaxy/rev/13cbdd1bbd19 changeset: 1599:13cbdd1bbd19 user: Dan Blankenberg <dan@bx.psu.edu> date: Mon Nov 03 15:21:03 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 ca640ce1abcf -r 13cbdd1bbd19 lib/galaxy/jobs/__init__.py --- a/lib/galaxy/jobs/__init__.py Mon Nov 03 15:15:22 2008 -0500 +++ b/lib/galaxy/jobs/__init__.py Mon Nov 03 15:21:03 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