Skip to content

Commit

Permalink
Replaced empty lon/lat with strings
Browse files Browse the repository at this point in the history
  • Loading branch information
tgurbich committed Jul 22, 2024
1 parent 95aecce commit 61fc6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genomeuploader/genome_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ def extract_ENA_info(genomeInfo, uploadDir, webin, password):
sampleInfo = ena.get_sample(sampleAccession, webin, password)

location = sampleInfo["location"]
latitude, longitude = None, None
latitude, longitude = "", ""
if 'N' in location:
latitude = location.split('N')[0].strip()
longitude = location.split('N')[1].strip()
Expand Down

0 comments on commit 61fc6a8

Please sign in to comment.