Skip to content
Snippets Groups Projects
Commit bb3f6d61 authored by Daniel Savoiu's avatar Daniel Savoiu
Browse files

Replace deprecated `input_files.append` with dict access.

parent f8dd1344
Branches
No related tags found
1 merge request!6Update law to `v0.1.12`, reduction of code duplication, and various small fixes.
......@@ -223,7 +223,7 @@ class HTCondorWorkflow(law.contrib.htcondor.HTCondorWorkflow, HTCondorRemoteStor
os.system('tar --exclude=luigi/.git --exclude={}/SteerModify.str -czf analysis.tar.gz analysis luigi.cfg law.cfg luigi law six enum34-1.1.10 python-dateutil-2.8.2 {} {}'.format(self.steer_dir, self.base_runcard, self.steer_dir))
os.chdir(prevdir)
config.input_files.append(law.util.rel_path(__file__, '../analysis.tar.gz'))
config.input_files['analysis'] = law.util.rel_path(__file__, '../analysis.tar.gz')
return config
def htcondor_use_local_scheduler(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment