Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added I3QUESOExtractor #469

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

RasmusOrsoe
Copy link
Collaborator

Adds I3Extractor for the graphnet-powered event selection for IceCube Upgrade named QUESO.

Copy link
Collaborator

@asogaard asogaard left a comment

Choose a reason for hiding this comment

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

Hi @RasmusOrsoe,

Thanks for this! I love QUESO, and have only made one optional suggestion. :)

Comment on lines +36 to +39
try:
value = frame[key].value
except KeyError:
value = self._padding_value
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think something like this is more legible, but they're functionally the same.

Suggested change
try:
value = frame[key].value
except KeyError:
value = self._padding_value
if key in frame:
value = frame[key].value
else:
value = self._padding_value

@RasmusOrsoe RasmusOrsoe merged commit dcc0ff2 into graphnet-team:main Apr 2, 2023
RasmusOrsoe added a commit to RasmusOrsoe/graphnet that referenced this pull request Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants