-
Notifications
You must be signed in to change notification settings - Fork 110
More graceful handling of libraries containing nonsensical entries (e.g. water loss on molecule containing no oxygen atoms) #3107
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
Merged
bspratt
merged 50 commits into
master
from
Skyline/work/20240807_graceful_handling_adduct_molecule_mismatch
Oct 22, 2025
Merged
Changes from 31 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
13f20a3
In ExceptionWeb report https://skyline.ms/announcements/home/issues/e…
bspratt c4df609
was using wrong Trace method for immediate window placement
bspratt 4d71770
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt e85d846
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt d95436c
Introducing
bspratt a827c3b
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 21fbde2
update test to accommodate new exception type
bspratt 385c304
Merge branch 'Skyline/work/20240807_graceful_handling_adduct_molecule…
bspratt c205d9d
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt be1cfbe
clear up an unwanted using directive
bspratt 419bec9
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt f93c794
Merge branch 'Skyline/work/20240807_graceful_handling_adduct_molecule…
bspratt 052ad3a
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 4aca7ae
manual merge of commit 721ae29282b14b2aa0596e2c98f9d9c7d7d5060b
bspratt c4e20ae
Merge remote-tracking branch 'remotes/origin/master' into Skyline/wor…
bspratt b345e22
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt b20e435
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt ea667ec
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 1d7ccf0
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt adf085e
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt aa24656
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 725fed3
Make the error message more prominent
bspratt b468780
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt e80b3d6
use Messages.WriteAsyncUserMessage instead of Trace.Warning
bspratt bdb8e01
Merge branch 'Skyline/work/20240807_graceful_handling_adduct_molecule…
bspratt 66fa89a
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt fea88af
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 07465ed
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 20b63ba
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 1e7a466
Add detail library name to immediate window message when adduct does …
bspratt f417703
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 97f3811
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 7ac34ee
Merge branch 'Skyline/work/20240807_graceful_handling_adduct_molecule…
bspratt 83fa52f
Move strings to resource file
bspratt 850be29
Avoid repeated messages (within the last 500msec) in Messages.WriteAs…
bspratt d5c4dc9
use Messages.WriteAsyncUserMessage to non-blockingly explain why libr…
bspratt b8a95dd
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 3ffdbe2
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 3c76101
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 8720292
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt cdae880
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 3dd0c11
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 543c151
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 74e80d2
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 7c113c4
Merge remote-tracking branch 'remotes/origin/master' into Skyline/wor…
bspratt 00f4f2a
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 440a6ef
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt 78420ca
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt d0a9fd4
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt e073016
Merge branch 'master' into Skyline/work/20240807_graceful_handling_ad…
bspratt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this message shows up in the Immediate Window it does not have enough information for the user to be able to figure out where the error is coming from.

In the document that I sent you, the message says:
Adduct "[M-2H2O+K]" calls for removing more O atoms than are found in the molecule C8H8O
The message should contain the name of the spectral library.
Also, it should probably also say the name of the molecule in addition to the chemical formula because the chemical formula is not what you see in the Library Explorer.
Here's the document:
adductmismatch.sky.zip