mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 10:24:38 +08:00
Place configfiles in working dir if filename set
This commit is contained in:
@@ -525,6 +525,8 @@ class ToolEvaluator(object):
|
||||
if not os.path.exists(directory):
|
||||
os.makedirs(directory)
|
||||
if filename is not None:
|
||||
# Explicit filename was requested, needs to be placed in tool working directory
|
||||
directory = os.path.join(self.local_working_directory, "working")
|
||||
config_filename = os.path.join(directory, filename)
|
||||
else:
|
||||
fd, config_filename = tempfile.mkstemp(dir=directory)
|
||||
|
||||
Reference in New Issue
Block a user