[hg] galaxy 3016: Quick fix for external cluster metadata, but i...
details: http://www.bx.psu.edu/hg/galaxy/rev/9b9c3603fd09 changeset: 3016:9b9c3603fd09 user: Nate Coraor <nate@bx.psu.edu> date: Wed Nov 11 16:52:18 2009 -0500 description: Quick fix for external cluster metadata, but it doesn't work with the upload tool. diffstat: lib/galaxy/jobs/runners/pbs.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r b33b8f5e03b8 -r 9b9c3603fd09 lib/galaxy/jobs/runners/pbs.py --- a/lib/galaxy/jobs/runners/pbs.py Wed Nov 11 15:59:41 2009 -0500 +++ b/lib/galaxy/jobs/runners/pbs.py Wed Nov 11 16:52:18 2009 -0500 @@ -222,7 +222,7 @@ script = pbs_symlink_template % (job_wrapper.galaxy_lib_dir, " ".join(job_wrapper.get_input_fnames() + output_files), self.app.config.pbs_stage_path, exec_dir, command_line) else: if self.app.config.set_metadata_externally: - external_metadata_script = job_wrapper.setup_external_metadata( exec_dir = exec_dir, tmp_dir = self.app.config.new_file_path, dataset_files_path = self.app.model.Dataset.file_path, output_fnames = output_fnames, kwds = { 'overwrite' : False } ) #we don't want to overwrite metadata that was copied over in init_meta(), as per established behavior + external_metadata_script = job_wrapper.setup_external_metadata( exec_dir = os.path.abspath( os.getcwd() ), tmp_dir = self.app.config.new_file_path, dataset_files_path = self.app.model.Dataset.file_path, output_fnames = output_fnames, kwds = { 'overwrite' : False } ) #we don't want to overwrite metadata that was copied over in init_meta(), as per established behavior else: external_metadata_script = "" script = pbs_template % ( job_wrapper.galaxy_lib_dir, exec_dir, command_line, external_metadata_script )
participants (1)
-
Greg Von Kuster