Skip to content

Commit

Permalink
fix deisotoped rank tuple bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Kolbowski committed Oct 17, 2019
1 parent 6d34f33 commit c424ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyxiannotator/AnnotatedSpectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ def get_intensity_ratio(self, deisotoped=False):
def as_dict(self):

deisotoped_rank = self.spectrum.get_peak_rank(
[self.get_mz(), self.get_intensity(deisotoped=True)], deisotoped=True, as_list=True),
[self.get_mz(), self.get_intensity(deisotoped=True)], deisotoped=True, as_list=True)
return {
"intensity": self.get_intensity(),
"deisotoped_intensity": self.get_intensity(deisotoped=True),
Expand Down

0 comments on commit c424ea4

Please sign in to comment.