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

Move TableLoader traits to read_...-methods #2482

Merged
merged 16 commits into from
Jan 4, 2024
Merged

Conversation

Hckjs
Copy link
Contributor

@Hckjs Hckjs commented Dec 13, 2023

As discussed in #2165 and related to #2012. Thanks to @ccossou!

I've also added a new example/tutorial related to TableLoader and EventSources based on the hands-on presented in October 2023 at the DPPS Meeting at CEA Paris-Saclay.

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (75a38ee) 92.44% compared to head (592278b) 92.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2482      +/-   ##
==========================================
+ Coverage   92.44%   92.46%   +0.01%     
==========================================
  Files         234      234              
  Lines       19917    19955      +38     
==========================================
+ Hits        18413    18451      +38     
  Misses       1504     1504              

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

examples/tutorials/tableloader_and_eventsources.py Outdated Show resolved Hide resolved
ctapipe/io/tableloader.py Outdated Show resolved Hide resolved
ctapipe/io/tableloader.py Outdated Show resolved Hide resolved
ctapipe/io/tableloader.py Outdated Show resolved Hide resolved
@Hckjs Hckjs requested a review from kosack December 19, 2023 12:27
@maxnoe maxnoe merged commit e4402ad into main Jan 4, 2024
13 of 14 checks passed
@maxnoe maxnoe deleted the move_table_loader_traits branch January 4, 2024 11:30
Copy link
Member

@StFroese StFroese left a comment

Choose a reason for hiding this comment

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

Lgtm :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move TableLoader options from being traitlets to the read_... methods
5 participants