Skip to content

Commit

Permalink
testing on server
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmudhera committed Aug 30, 2022
1 parent bb6a93b commit f156f4d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/get_reference_genomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,14 @@ def main():
break

# download selected genome and gbff
helper.download_FNA_file(path, current_directory_name)
helper.download_GBFF_file(path, current_directory_name)
try:
helper.download_FNA_file(path, current_directory_name)
helper.download_GBFF_file(path, current_directory_name)
except EOFError:
print(path, current_directory_name)
print('Exiting for now')
exit(-1)
continue
total_downloaded += 1
helper.return_to_original_direct()

Expand Down

0 comments on commit f156f4d

Please sign in to comment.