Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'url:pipermail': 0.05; 'subject:Getting': 0.07; 'assumed': 0.09; 'try:': 0.09; 'cc:addr :python-list': 0.11; 'fetches': 0.16; 'parse,': 0.16; 'command': 0.22; 'saying': 0.22; 'cc:addr:python.org': 0.22; 'server.': 0.24; 'cc:2**0': 0.24; 'post': 0.26; 'header:In-Reply-To:1': 0.27; 'points': 0.29; 'message-id:@mail.gmail.com': 0.30; 'submitting': 0.31; 'request,': 0.31; 'received:google.com': 0.35; 'url:org': 0.36; 'read': 0.60; 'skip:n 10': 0.64; 'more': 0.64; 'blast': 0.84; 'subject:long': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hsXTugU8peOz/yjC4pkzt0lpJxvaIrX7eKOVTf+69Xk=; b=brGBAUgpYdCam4kBuOrevlPqwLEd89bVhHFWjbgqfjzsXaJ6qQ0SccXWzi2sVmqAbg I5lYzOwz3p5xociFnYJnyFwPxEXqGYT5LhcYx/7GFvKLGvWKwvV81i2faXdhlymjDSfW Zujj2SVGrtx+T8aFh/nw6ybqKSfuf05MbAP7X9gPla8qpCzsk55ZbjO6QYP0AQi6sPH5 AYqypU0I1gb6etuyIu4sAi5/5khdlt+b+mmsgKn4p6TmdcG4ssKk+qPuoSBTuDmBBzxb Oot6Gj2etYi3UyPnCMI/KKGBiN4JsSDjpoZvyvt4f21CF6RA6ln2Wn+CoQcsV+aVxumj uXkQ== MIME-Version: 1.0 X-Received: by 10.50.221.99 with SMTP id qd3mr36938242igc.49.1388103348981; Thu, 26 Dec 2013 16:15:48 -0800 (PST) In-Reply-To: References: Date: Thu, 26 Dec 2013 17:15:48 -0700 Subject: Re: Getting updates and restarting a long running url request. From: Jason Friedman To: Vincent Davis Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388103358 news.xs4all.nl 2869 [2001:888:2000:d::a6]:45969 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62756 > Would this not keep requesting/submitting additional (duplicate) BLAST > queries? >> >> try: >> this_result = get_BLAST(id) >> result_dict[id] = True > I assumed that NCBIWWW.qblast waits for a response from the server. Are you saying that instead it queues a request, and the NCBIXML.read(blast_result) command fetches the result? > > That said after some more research I found this tread. > http://lists.open-bio.org/pipermail/biopython/2013-April/008507.html I read that post to say that you will be submitting one request for a lot of data points that you will then need to parse, is that true?