Skip to content

Commit

Permalink
Update RIAssigner/data/MatchMSData.py
Browse files Browse the repository at this point in the history
Co-authored-by: Wudmir Y. Rojas <[email protected]>
  • Loading branch information
hechth and wverastegui authored Feb 5, 2024
1 parent b8bb557 commit fe40202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RIAssigner/data/MatchMSData.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def safe_read_key(spectrum: Spectrum, key: str) -> float:
try:
value = float(value)
except ValueError:
# RT is in format that can't be converted to float -> set rt to None
# RT is in format that can't be converted to float -> set rt to 0.0
value = 0.0
if not Data.can_be_float(value):
value = 0.0
Expand Down

0 comments on commit fe40202

Please sign in to comment.