Skip to content

Commit

Permalink
Upgrade to version 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
n-elie committed Oct 24, 2022
1 parent 82743f6 commit 3b76b62
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions msdial.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""MetGem plugin to download databases from MS-DIAL website"""

__version__ = '1.3'
__version__ = '1.4'
__description__ = "MetGem plugin to download databases from MS-DIAL website"
__author__ = "Nicolas Elie"
__email__ = "[email protected]"
Expand Down Expand Up @@ -49,7 +49,11 @@ def get_items(self, tree):

desc = ""
if "(" in title:
title, desc = title.split('(')
try:
title, desc = title.rsplit('(', 1)
except ValueError:
desc = ""

if title in items:
desc = ""
else:
Expand Down

0 comments on commit 3b76b62

Please sign in to comment.