We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f4250 commit 0940c4dCopy full SHA for 0940c4d
data/index_private_nano.py
@@ -215,11 +215,12 @@ def xrootd_index_private_nano(
215
tfiles += [f"{redirector}{f3path!s}/{f}" for f in root_files]
216
217
if is_data:
218
+ subsample_key = f"{sample}_{f1}".replace("_DAZSLE_PFNano", "")
219
# For data, concatenate files from related subsamples
220
# e.g. EGamma0 and EGamma1 should be combined
- if f1 not in files[year][sample]:
221
- files[year][sample][f1] = []
222
- files[year][sample][f1].extend(tfiles)
+ if subsample_key not in files[year][sample]:
+ files[year][sample][subsample_key] = []
223
+ files[year][sample][subsample_key].extend(tfiles)
224
print(f"\t\t\t\t\t{len(tfiles)} files added")
225
226
if not is_data:
0 commit comments