Skip to content

Commit

Permalink
Appeased the pre-commit bot
Browse files Browse the repository at this point in the history
  • Loading branch information
iguinn committed Jan 7, 2025
1 parent 136e2a7 commit 54d1f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legendmeta/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def channelmap(
pd, run = re.fullmatch("([pP][0-9]+)\\s*([rR][0-9]+)", on).group(1, 2)
runinfo = self.dataprod.runinfo[pd][run]
if system == "all":
on = list(runinfo.values())[0].start_key
on = next(iter(runinfo.values())).start_key
else:
on = runinfo[system].start_key
except (AttributeError, TypeError):
Expand Down

0 comments on commit 54d1f58

Please sign in to comment.