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

Get a less rounded mz_delta value in ppm for annotations? #59

Open
levitsky opened this issue Feb 7, 2024 · 1 comment
Open

Get a less rounded mz_delta value in ppm for annotations? #59

levitsky opened this issue Feb 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@levitsky
Copy link

levitsky commented Feb 7, 2024

Hi, thank you once again for this package. I am currently using it for some bulk annotations and, due to the rounding of ppm values to 1 decimal digit, I get very discrete values, which is not ideal for statistical analysis. Do you think it would be possible to enable more digits somehow?

I think this line is relevant:

ndigits=5 if fragment_tol_mode == "Da" else 1,

Thank you!

@bittremieux
Copy link
Owner

Yes, that makes total sense. I initially used rounding to have some pretty plotting results,. But it's much better to do that in the plotting code then (and probably even have this behavior be user-configurable), and not use any rounding in the actual annotation.

@bittremieux bittremieux added the enhancement New feature or request label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants