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

Add L1Nano compatibility and first configs for 14x release validation #58

Closed
wants to merge 39 commits into from

Conversation

artlbv
Copy link
Collaborator

@artlbv artlbv commented Feb 6, 2024

@artlbv artlbv changed the base branch from main to refactored_tools February 6, 2024 15:00
@artlbv artlbv added the enhancement New feature or request label Feb 6, 2024
.gitignore Outdated Show resolved Hide resolved
@@ -24,7 +24,13 @@ def _transform_key(self, raw_key: str, obj: str):
NTuple branch names for quality and region
to "quality"/"region".
"""
key = raw_key.removeprefix(obj).lower()
## nano
if ("_" in raw_key) and ("dr_0" not in raw_key):
Copy link
Collaborator

Choose a reason for hiding this comment

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

@@ -63,7 +63,12 @@ def get_branches(ntuple_path: str, tree: str, obj: str):
else:
prefix = "L1PhaseII/"

obj_branches = [x.removeprefix(prefix + obj) for x in all_branches if obj in x]
## nano
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would leave the indentation level as before (i.e. not put this code in the with block) as there is no operation here anymore requiring the file to be opened.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done in #65

@artlbv artlbv changed the base branch from refactored_tools to main March 1, 2024 06:55
@artlbv artlbv self-assigned this Mar 1, 2024
@artlbv artlbv marked this pull request as ready for review March 1, 2024 07:04
@artlbv
Copy link
Collaborator Author

artlbv commented Mar 4, 2024

Superseded by #65

@artlbv artlbv closed this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants