MassBank / RMassBank

Playground for experiments on the official http://bioconductor.org/packages/devel/bioc/html/RMassBank.html
Other
12 stars 15 forks source link

Fix rendering mz > 1000 #336

Closed meowcat closed 1 year ago

meowcat commented 1 year ago

https://github.com/MassBank/MassBank-web/issues/384

In some cases, mz > 1000 get printed with 3 significant digits for m/z, not 4, because R prints only 7 digits.

meowcat commented 1 year ago

Note: this is a regression introduced somewhere between 3.7.1.3 and 3.11.1

meowcat commented 1 year ago

The culprit is obviously this: https://github.com/MassBank/RMassBank/commit/ec3f34f604dc9471c8c0210aa8a29f8e8ef601fe