Skip to content

Commit

Permalink
fixed LipidMaps parser bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-kopczynski committed Mar 11, 2024
1 parent 3dae7be commit 77fdd9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pygoslin/parser/LipidMapsParserEventHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def sphinga_db_set(self, node):


def c_type(self, node):
if self.head_group.lower == "sph":
if self.head_group == "Cer":
self.new_sphinga_pure(node)
else:
self.sphinga_pure = True
Expand All @@ -214,7 +214,7 @@ def new_sphinga(self, node):


def new_sph(self, node):
if self.head_group.lower == "sph":
if self.head_group.lower() == "sph":
self.new_sphinga_pure(node)
else:
self.sphinga_pure = True
Expand Down

0 comments on commit 77fdd9b

Please sign in to comment.