Skip to content
Snippets Groups Projects

Sweeping !33494 from 21.0 to master. Add Z counting grid submission scripts

Merged Sweeping !33494 from 21.0 to master. Add Z counting grid submission scripts
Merged Atlas Nightlybuild requested to merge cherry-pick-468642e21c-master into master
4 files
+ 150
0
Compare changes
  • Side-by-side
  • Inline
Files
4
#!/usr/bin/env python
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# helper script to generate JSON file of datasets for batch pathena submission
import sys, json
prefix = sys.argv[1]
dslist = sys.argv[2:]
jlist = []
for ds in dslist:
jlist.append({'inDS': ds, 'outDS': prefix + '.' + ds.split(':')[-1]})
with open('inOutDs.json', 'w') as ofile:
json.dump(jlist, ofile)
Loading