We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a91c0 commit 909810dCopy full SHA for 909810d
psm_utils/io/sage.py
@@ -108,7 +108,7 @@ def _parse_ion_mobility(psm_dict: dict) -> Optional[float]:
108
Parse ion mobility from PSM dictionary.
109
Returns None if not present.
110
"""
111
- if "ion_mobility" in psm_dict: # Older versions of Sage, no ion mobility column
+ if "ion_mobility" in psm_dict: # Older versions of Sage have no ion mobility column
112
if float(psm_dict["ion_mobility"]): # If ion mobility is not 0.0 (not present)
113
return float(psm_dict["ion_mobility"])
114
return None
0 commit comments