Skip to content

Commit

Permalink
added credentials.
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmudhera committed Aug 31, 2022
1 parent eda032d commit 384198d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion experiments/test_experiment/workflow_test_expt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ thresholdBP=50 # this has the largest impact on FNs and FPs: setting it higher

# download genomes
echo "$scriptDir/get_reference_genomes.py -n $numGenomes -s $dataDir -u"
$scriptDir/get_reference_genomes.py -n $numGenomes -s $dataDir -u
$scriptDir/get_reference_genomes.py -n $numGenomes -s $dataDir -u -c mahmudhera93@gmail.com

# create the full genome reference database
echo "$scriptDir/create_genome_ref_db.py $genomePath $genomeDatabaseFull $numGenomesFullDB"
Expand Down
4 changes: 4 additions & 0 deletions scripts/get_reference_genomes.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,15 @@ def main():
cmd = 'rm -rf ' + path+'/'+current_directory_name
subprocess.call(cmd.split(' '))

print('Trying to reconnect...')
helper.is_connected = False
while not helper.is_connected:
helper.connect()
print('Connection reestablished.')

helper.return_to_original_direct()
continue

total_downloaded += 1
helper.return_to_original_direct()

Expand Down

0 comments on commit 384198d

Please sign in to comment.