Skip to content

Commit

Permalink
Removed debug text
Browse files Browse the repository at this point in the history
  • Loading branch information
alcamerone committed Apr 22, 2017
1 parent 9b46335 commit 58685dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions codes3d/codes3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def query_GTEx_service(snps,genes,eqtls,p_values,num_processes,output_dir):
time.sleep(10)
procPool.close()
procPool.join()
print "\t\tNumber of GTEx responses received: " + str(len(gtexResponses))
print "\t\tGTEx responses received: " + str(len(gtexResponses))
results = []
failed_requests = []
for response in gtexResponses:
Expand Down Expand Up @@ -328,7 +328,6 @@ def send_GTEx_query(num,num_reqLists,reqList,gtexResponses):
while True:
print "\t\tSending request %s of %s" % (num,num_reqLists)
res = requests.post("http://gtexportal.org/api/v6p/dyneqtl?v=clversion", json=reqList)
print "\t\tRequest %s response: %s" % (num,res.status_code)
if res.status_code == 200:
gtexResponses.append((reqList,res))
time.sleep(30)
Expand Down

0 comments on commit 58685dc

Please sign in to comment.