Fixed trial reservation issues by adjusting when the reservation querey is written to the db

history-download
youainti 4 years ago
parent 5bd3d4ee95
commit d3f20ca817

@ -228,12 +228,12 @@ if __name__ == "__main__":
#get list of nct_ids #get list of nct_ids
nctids = reserve_trials(con, 100) nctids = reserve_trials(con, 10)
print(nctids) print(nctids)
#start analyzing them #start analyzing them
with Pool(processes=4) as process_pool: with Pool(processes=4) as process_pool:
process_pool.map(downloader, nctids) process_pool.map(downloader, nctids)

Loading…
Cancel
Save