mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
A fix for the metadata reverting issue seen with PBS job runner.
This commit is contained in:
@@ -274,6 +274,7 @@ class JobWrapper( object ):
|
||||
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 @@ class NoopQueue( object ):
|
||||
def put( self, *args ):
|
||||
return
|
||||
def shutdown( self ):
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user