Skip to content

Commit

Permalink
unset normalization defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
rodvrees committed May 7, 2024
1 parent c6073e1 commit b89b0fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ms2pip/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def predict_library(*args, **kwargs):
logger.info(f'Finished writing output to {output_name_csv}')
#TODO: add support for other output formats
# Initial implementation of writing to MSP format
so = SpectrumOutput(predictions, normalization="basepeak_10000")
so = SpectrumOutput(predictions)
so.write_msp()


Expand Down
4 changes: 2 additions & 2 deletions ms2pip/spectrum_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
write_mode="wt+",
return_stringbuffer=False,
is_log_space=True,
normalization="basepeak_10000",
normalization=None,
):
"""
Write MS2PIP predictions to various output formats.
Expand All @@ -85,7 +85,7 @@ def __init__(
case, intensities will first be transformed to "normal"-space.
normalization: str, optional
Normalization method to use. Options are "basepeak_10000", "basepeak_1", and
"tic" (default: "basepeak_10000")
"tic" (default: None)
Example
-------
Expand Down

0 comments on commit b89b0fb

Please sign in to comment.