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

Add option for skipping instrument rescaling when not available #49

Closed

Conversation

ml-evs
Copy link

@ml-evs ml-evs commented Feb 25, 2024

As described in #47.

This PR adds an option error_on_missing to read_nda (and read) that allows the parser to continue even when instrument scaling is not possible due to to a missing multiplier. The current behaviour is preserved by the default value of error_on_missing = True.

This allows the package to be used more easily downstream without needing to wait for new multipliers to be added and released.

Before merging this, there is no test data available to contributors (presumably you have some somewhere!) so consider this PR as untested! (It works for me with my own data, of course...) -- see #48 for my thoughts on how best to do this.

@ml-evs ml-evs force-pushed the ml-evs/development branch 2 times, most recently from dedea60 to 8139bae Compare February 25, 2024 20:00
@ml-evs ml-evs force-pushed the ml-evs/development branch from 8139bae to b3ca37d Compare February 25, 2024 23:06
@ml-evs
Copy link
Author

ml-evs commented Feb 27, 2024

See #47

@ml-evs ml-evs closed this Feb 27, 2024
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.

1 participant