Skip to content

Commit

Permalink
Fix odd sample names. Fixes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
s-andrews committed Jan 15, 2021
1 parent c7b9264 commit a062b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sradownloader
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import shutil
from ftplib import FTP


VERSION = "3.4"
VERSION = "3.5"

# These are the symbols we're going to need to remove
# from any proposed file names
Expand Down Expand Up @@ -204,7 +204,7 @@ def get_geo_name (srr_number, options):
line = line.decode("UTF-8")
if line.startswith("Title:"):
line = line.strip()
geosections = re.split("[:;] ",line)
geosections = re.split("[:; ,]+",line)

sample_name = "_".join(geosections[1:])
break
Expand Down

0 comments on commit a062b5c

Please sign in to comment.