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

Fix molecular formula regex #1

Closed
wants to merge 1 commit into from
Closed

Fix molecular formula regex #1

wants to merge 1 commit into from

Conversation

chasemc
Copy link
Owner

@chasemc chasemc commented Feb 23, 2025

Fixes issue where formula with atom counts containing a zero result in parse error

for example:

Works:

https://massql.gnps2.org/parse?query=QUERY%20MS2DATA%20WHERE%20MS1MZ=formula(C1)

Doesn't work:

https://massql.gnps2.org/parse?query=QUERY%20MS2DATA%20WHERE%20MS1MZ=formula(C10)

Fixes issue where formula with atom counts containing a zero result in parse error
@chasemc chasemc closed this Feb 23, 2025
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