Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions L1-HLT-acceptance/seeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@

with open(savedir+csvname,"w") as csv_file:
writer = csv.writer(csv_file)
writer.writerow(["HLT"] + runs.keys())
writer.writerow(["HLT"] + list(runs))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

required edit - the ones below are for consistency


for key in keys:
# Count the max number of hltL1 structures for a single HLT path
ls = []
for run in runs.keys():
for run in list(runs):
try:
ls.append(len(runs[run][key]))
except KeyError:
Expand All @@ -118,7 +118,7 @@
for i in range(m): # Iterate through all seeds in possible multiple hltL1 structures for a single HLT path
ls = []
ls.append(key)
for run in runs.keys():
for run in list(runs):
try:
ls.append(runs[run][key][i])
except KeyError:
Expand Down