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

Update _icetop_weighter.py #49

Merged
merged 5 commits into from
Feb 20, 2025
Merged

Update _icetop_weighter.py #49

merged 5 commits into from
Feb 20, 2025

Conversation

SoenTrek
Copy link
Contributor

@SoenTrek SoenTrek commented Jan 6, 2025

Load all columns before creating the generation surfaces. This makes the loading faster, because the h5 table columns don't have to be loaded and converted in every repetition of the for loop

Copy link

github-actions bot commented Jan 6, 2025

Test Results

    6 files  ±0      6 suites  ±0   2m 42s ⏱️ -4s
  638 tests ±0    413 ✅ ±0    225 💤 ±0  0 ❌ ±0 
3 828 runs  ±0  2 476 ✅ ±0  1 352 💤 ±0  0 ❌ ±0 

Results for commit c769462. ± Comparison against base commit 0c31d7a.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Jan 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (0c31d7a) to head (c769462).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #49   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines          813       836   +23     
=========================================
+ Hits           813       836   +23     

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

@SoenTrek SoenTrek requested a review from kjmeagher January 6, 2025 15:09
@kjmeagher
Copy link
Member

Thanks for submitting this patch. This change might conflict with a patch i have that is still in progress for the much requested feature of support for i3files. So i will hold off on this until we can do that

SoenTrek and others added 5 commits February 20, 2025 15:38
Load all columns before creating the generation surfaces. This makes the loading faster, because the columns don't have to be loaded and converted in every repetition of the for loop
removed whitespaces in empty line
@kjmeagher kjmeagher force-pushed the faster_loading_icetopweighter branch from 5171434 to c769462 Compare February 20, 2025 22:00
@kjmeagher kjmeagher merged commit 78dcd2c into main Feb 20, 2025
14 checks passed
@kjmeagher kjmeagher deleted the faster_loading_icetopweighter branch February 20, 2025 22:54
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