-
Notifications
You must be signed in to change notification settings - Fork 14
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
MSME matchms logging level #259
Conversation
@@ -8,6 +8,7 @@ | |||
|
|||
<requirements> | |||
<requirement type="package" version="@TOOL_VERSION@">msmetaenhancer</requirement> | |||
<requirement type="package" version="0.14.0">matchms</requirement> |
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.
This is not necessary
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.
You are right, its installed with MSME
.
set_matchms_logger_level("ERROR") | ||
# import .msp file | ||
app.load_spectra(args.input_file, file_format='msp') | ||
|
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.
The level can be returned back to WARNING
after loading the spectra.
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.
Good point, I set it back to WARNING
before curation in d3e8037.
Set
matchms
logging level toERROR
to avoid extensive messages in stdout. This required to addmatchms
as MSME wrapper dependency.Close #255.