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

Remove gc.collect call in dials.scale #2047

Merged
merged 2 commits into from
Mar 30, 2022
Merged

Conversation

jbeilstenedmands
Copy link
Contributor

Housekeeping for a small section of the scaling code.
Garbage collection should be left to python to handle.
Some testing shows it's unlikely this was bringing much benefit, and definitely slows down the processing when processing 1000s of SSX images.
Rearrange some column deletion to earlier in the process to help with memory management.

@codecov
Copy link

codecov bot commented Mar 29, 2022

Codecov Report

Merging #2047 (6cb7008) into main (6ab1c71) will decrease coverage by 0.01%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #2047      +/-   ##
==========================================
- Coverage   68.48%   68.46%   -0.02%     
==========================================
  Files         654      654              
  Lines       76521    76516       -5     
  Branches    10943    10943              
==========================================
- Hits        52403    52386      -17     
- Misses      22077    22088      +11     
- Partials     2041     2042       +1     

@jbeilstenedmands jbeilstenedmands merged commit 7c64de0 into main Mar 30, 2022
@jbeilstenedmands jbeilstenedmands deleted the remove_scaling_gc_call branch March 30, 2022 07:32
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.

None yet

2 participants