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

Optimize pyimzml.ImzMLParser to handle much larger data files #23

Closed
wants to merge 3 commits into from

Conversation

alex-l-kong
Copy link
Contributor

@alex-l-kong alex-l-kong commented May 6, 2024

What is the purpose of this PR?

For large MALDI runs, it is not uncommon for the data in .imzML files to exceed the amount of memory on the MALDI machine. The base imzml extractor does not handle this, so our existing forked installation needs to be used instead.

How did you implement your changes

Forked pyimzml and update to remove unnecessary processing for our purposes, and clear out each element seen by iterparse once fully processed.

Remaining issues

Further testing is needed.

@alex-l-kong alex-l-kong self-assigned this May 6, 2024
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@coveralls
Copy link

Pull Request Test Coverage Report for Build 8976071893

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.859%

Totals Coverage Status
Change from base Build 6777233943: 0.0%
Covered Lines: 155
Relevant Lines: 156

💛 - Coveralls

@alex-l-kong alex-l-kong requested review from mikaelaribi and goterm May 30, 2024 21:54
@alex-l-kong
Copy link
Contributor Author

Closing out this PR, the updated spectra extractor removes the need to support pyimzml.

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