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

Feature/custom regex for index parsing #224

Merged
merged 10 commits into from
May 26, 2020

Conversation

MKoesters
Copy link
Contributor

Fix bugs when parsing files with non numerical id

  • if groups in id can't be machted, return empty id_dict
  • if first scan is not an integer, set first scan to 0
  • remove debug print function
  • if no integer in spec_id, return full id string

- if groups in id can't be machted, return empty id_dict
- if first scan is not an integer, set first scan to 0
- remove debug print function
- if no integer in spec_id, return full id string
@codecov
Copy link

codecov bot commented May 13, 2020

Codecov Report

Merging #224 into dev will increase coverage by 0.16%.
The diff coverage is 69.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #224      +/-   ##
==========================================
+ Coverage   83.99%   84.15%   +0.16%     
==========================================
  Files          32       32              
  Lines        3673     3698      +25     
==========================================
+ Hits         3085     3112      +27     
+ Misses        588      586       -2     
Impacted Files Coverage Δ
pymzml/spec.py 76.98% <29.41%> (+1.88%) ⬆️
pymzml/file_classes/standardMzml.py 69.60% <76.66%> (-0.08%) ⬇️
pymzml/file_interface.py 93.54% <100.00%> (+0.21%) ⬆️
pymzml/regex_patterns.py 100.00% <100.00%> (ø)
pymzml/run.py 86.04% <100.00%> (-3.43%) ⬇️
tests/main_reader_test.py 99.37% <100.00%> (-0.02%) ⬇️
tests/ms2_spec_test.py 98.14% <100.00%> (+0.14%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a00b0ce...11d5741. Read the comment docs.

@MKoesters MKoesters requested review from fu, StSchulze and JB-MS and removed request for fu May 15, 2020 12:49
Copy link
Contributor

@StSchulze StSchulze left a comment

Choose a reason for hiding this comment

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

Looks good.
Remove debug code (that's commented out) and then it should be ready to go.

@MKoesters MKoesters linked an issue May 26, 2020 that may be closed by this pull request
@MKoesters MKoesters merged commit b110673 into dev May 26, 2020
@StSchulze StSchulze deleted the feature/custom_regex_for_index_parsing branch June 4, 2021 13:10
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.

Support for VITEK MS (aka. Shimadzu Assurance)
2 participants