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 uc_t topology check #268

Merged
merged 10 commits into from
Jan 5, 2025
Merged

Add uc_t topology check #268

merged 10 commits into from
Jan 5, 2025

Conversation

olejandro
Copy link
Member

@olejandro olejandro commented Dec 29, 2024

Address #154 and convert comemi and comagg to fi_t for processing

@olejandro olejandro changed the title Add tfm and uc_t topology check Add uc_t topology check Dec 31, 2024
@olejandro olejandro marked this pull request as ready for review December 31, 2024 01:52
Copy link
Collaborator

@siddharth-krishna siddharth-krishna left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

if result:
i_checked = pd.concat(checked)
if any(~i_checked):
result.insert(0, df[~i_checked])
Copy link
Collaborator

Choose a reason for hiding this comment

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

Python lists are basically arrays, so inserting into the first position is an inefficient O(n) operation. In this case, it's fine because we only do it once (?), but I just thought I'd point it out in case we do it anywhere else. :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Good to know, thanks!

@olejandro olejandro merged commit 2aedff0 into main Jan 5, 2025
2 checks passed
@olejandro olejandro deleted the olex/topology-check branch January 5, 2025 04:05
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