ran submit and get_results for one last batch for mcsm_na and did some bash formatting to get proper filenames, etc.
This commit is contained in:
parent
4733ec9db0
commit
50cf6ca3ac
4 changed files with 38 additions and 7 deletions
|
@ -40,7 +40,7 @@ def get_results(url_file, host_url, output_dir, outfile_suffix):
|
|||
txt_url = f"{host_url}/mcsm_na/static/results/" + prediction_number + '.txt'
|
||||
print('CHECK txt url:', txt_url)
|
||||
|
||||
out_filename = mcsm_na_results_dir + '/' + outfile_suffix + '_output_' + prediction_number + '.txt'
|
||||
out_filename = mcsm_na_results_dir + '/' + outfile_suffix + '_output_' + prediction_number + '.txt.gz'
|
||||
response_txt = requests.get(txt_url, stream = True)
|
||||
if response_txt.status_code == 200:
|
||||
print('\nDownloading .txt:', txt_url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue