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

Missing metadata in log file #94

Open
xtrojak opened this issue Apr 25, 2022 · 0 comments
Open

Missing metadata in log file #94

xtrojak opened this issue Apr 25, 2022 · 0 comments

Comments

@xtrojak
Copy link
Collaborator

xtrojak commented Apr 25, 2022

Currently, source metadata is written to the log file with all associated warnings and errors. However, if there is an issue related to metadata obtained during the annotation process (e.g. BridgeDB: hmdbid -> wikidataid in the example below), it is not present.

WARNING: Errors related to metadata:

{'formula': 'H2', 'mw': '2', 'casno': '1333-74-0', 'id': '1', 'comment': 'NIST MS# 245692, Seq# M1', 'num_peaks': '2', 'compound_name': 'Hydrogen'}

-> InvalidAttributeFormat - CIR: casno -> smiles:
 Obtained smiles in invalid format: [H]
-> TargetAttributeNotRetrieved - CIR: casno -> smiles:
No data retrieved.
-> TargetAttributeNotRetrieved - BridgeDB: hmdbid -> wikidataid:
No data retrieved.
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

No branches or pull requests

1 participant