From: Charles G. <cegrant@u.washington.edu> - 2010-02-09 02:58:32
|
Hi, I'm using the Pdb2pqrClient.py and pdb2pqrclient.pl scripts as templates for writing scripts that submit jobs to the MEME Opal service. I notice that those scripts contain commented out code for retrieving the output files using getOutputAsBase64ByName(). I was able to take that code and extend it to retrieve all the output files for a MEME job that had been submitted as a polling job. However it didn't seem to work for a blocking job. The return value for a blocking job doesn't seem to explicitly contain the jobID value seems to be needed to build the request object for the call to getOutputAsBase64ByName(). However, I am able to retrieve the output files for both polling and blocking jobs using urllib and the urls returned in the _outputFile array. Are there reasons for preferring getOutputAsBase64ByName() over say, urllib.FancyURLopener()/read()? If so is there a way to call getOutputAsBase64ByName() after a blocking job? Thanks, Charles |