ATLAS Offline Software
DataQuality
ZLumiScripts
grid
generateDSFile.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
# helper script to generate JSON file of datasets for batch pathena submission
4
5
import
sys, json
6
prefix = sys.argv[1]
7
dslist = sys.argv[2:]
8
jlist = []
9
for
ds
in
dslist:
10
jlist.append({
'inDS'
: ds,
'outDS'
: prefix +
'.'
+ ds.split(
':'
)[-1]})
11
with
open
(
'inOutDs.json'
,
'w'
)
as
ofile:
12
json.dump(jlist, ofile)
Trk::open
@ open
Definition:
BinningType.h:40
Generated on Wed Jan 22 2025 21:10:41 for ATLAS Offline Software by
1.8.18