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

Reimplement Table.eval(), now handling VectorOfVectors #53

Merged
merged 5 commits into from
Jan 11, 2024
Merged

Conversation

gipert
Copy link
Member

@gipert gipert commented Jan 10, 2024

Re-implemented Table.eval(), now handles VectorOfVectors too!

Note: the signature is changed, pygama.build_hit() will need to be updated.

More details in the new docstring.

Also closes #5.

@gipert gipert added the types LGDO types label Jan 10, 2024
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (b211f01) 75.25% compared to head (b98615c) 75.35%.

Files Patch % Lines
src/lgdo/types/table.py 87.87% 4 Missing ⚠️
src/lgdo/types/vectorofvectors.py 86.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   75.25%   75.35%   +0.10%     
==========================================
  Files          28       28              
  Lines        2392     2406      +14     
==========================================
+ Hits         1800     1813      +13     
- Misses        592      593       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gipert gipert marked this pull request as ready for review January 10, 2024 16:06
@gipert gipert merged commit dd9fb90 into main Jan 11, 2024
11 checks passed
@gipert gipert deleted the table-eval branch January 11, 2024 10:07
@gipert gipert linked an issue Mar 14, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
types LGDO types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Propagate physical units in Table.eval() Update lgdo.Table.eval() signature
1 participant