NDCMS / lobster

A userspace workflow management tool for harnessing non-dedicated resources for high-throughput workloads.
MIT License
3 stars 14 forks source link

Fix autosense to include pset name to make VarParsing happy #641

Closed Andrew42 closed 4 years ago

Andrew42 commented 4 years ago

Fixes autosense failing when using a cmsRun config that uses VarParsing.

VarParsing expects the pset name to be in the list of sys.argv (actually it just looks for any element ending in .py) and will fail if the pset is not found. So I added the pset name back to the list of sys.argv as well as included 'cmsRun' in order to be consistent with the way VarParsing gets used.