Skip to content

Commit

Permalink
fix symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
mobiusklein committed Oct 22, 2024
1 parent 0c408c3 commit 9817d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mzspeclib/backends/encyclopedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def get_spectrum(self, spectrum_number: int = None, spectrum_name: str = None):
spectrum.key = info['rowid']
spectrum.index = info['rowid'] - 1
spectrum.precursor_mz = info['PrecursorMz']
spectrum.add_attribute(CHARGE_STATE, row["PrecursorCharge"])
spectrum.add_attribute(CHARGE_STATE, info["PrecursorCharge"])
try:
spectrum.add_attribute(c.RETENTION_TIME, info['RTInSeconds'] / 60.0)
except KeyError:
Expand Down

0 comments on commit 9817d9f

Please sign in to comment.