Skip to content

Commit

Permalink
Update get_links() for new db XML schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ar0ch committed Sep 2, 2020
1 parent 84e7433 commit 45c0a3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stringMLST.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
except ImportError:
from urllib import urlopen, urlretrieve
import argparse
version = """ stringMLST v0.6.2 (updated : March, 5 2019) """
version = """ stringMLST v0.6.3 (updated : September 02, 2020) """
"""
stringMLST free for academic users and requires permission before any commercial
Expand Down Expand Up @@ -265,7 +265,7 @@ def get_links(xmlData, savePath, speciesName):
for database in mlst:
for child in database:
if child.tag == "profiles":
profileURL = child[1].text
profileURL = child[0].text
if child.tag == "loci":
for locus in child:
lociList[locus.text.rstrip()] = locus[0].text
Expand Down

0 comments on commit 45c0a3c

Please sign in to comment.