Skip to content

Commit 23f4250

Browse files
committed
Use directory name as subsample name for data
1 parent 30448f6 commit 23f4250

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data/index_private_nano.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ def xrootd_index_private_nano(
218218
# For data, concatenate files from related subsamples
219219
# e.g. EGamma0 and EGamma1 should be combined
220220
if f1 not in files[year][sample]:
221-
files[year][sample][f"{sample}_{f1}"] = []
222-
files[year][sample][f"{sample}_{f1}"].extend(tfiles)
221+
files[year][sample][f1] = []
222+
files[year][sample][f1].extend(tfiles)
223223
print(f"\t\t\t\t\t{len(tfiles)} files added")
224224

225225
if not is_data:

0 commit comments

Comments
 (0)