Skip to content

Commit

Permalink
possible fix for KoslickiLab#21
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmudhera committed Aug 30, 2022
1 parent acd3c97 commit 9648d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/get_reference_genomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import gzip
import shutil
from numpy import save
import subprocess

class Helper:
def __init__(self, credentials):
Expand Down Expand Up @@ -209,8 +210,7 @@ def main():
except EOFError:
print('Problem downloading genome ' + current_directory_name + ' due to a closed onnection, skipping this.')
cmd = 'rm -rf ' + path+'/'+current_directory_name
print(cmd)
exit(-1)
subprocess.call(cmd.split(' '))
continue
total_downloaded += 1
helper.return_to_original_direct()
Expand Down

0 comments on commit 9648d51

Please sign in to comment.