Mercurial > repos > iuc > ncbi_eutils_einfo
comparison eutils.py @ 3:a90ab6aa1b8a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 041f11d6eb83568deda382857b121274dffe9825
| author | iuc |
|---|---|
| date | Fri, 10 Jun 2016 14:48:45 -0400 |
| parents | 6a27397a8d55 |
| children | d0c86f755c95 |
comparison
equal
deleted
inserted
replaced
| 2:b8685dffb75b | 3:a90ab6aa1b8a |
|---|---|
| 25 "administrator email in NCBI_EUTILS_CONTACT") | 25 "administrator email in NCBI_EUTILS_CONTACT") |
| 26 | 26 |
| 27 if history_file is not None: | 27 if history_file is not None: |
| 28 with open(history_file, 'r') as handle: | 28 with open(history_file, 'r') as handle: |
| 29 data = json.loads(handle.read()) | 29 data = json.loads(handle.read()) |
| 30 print data | |
| 30 self.query_key = data['QueryKey'] | 31 self.query_key = data['QueryKey'] |
| 31 self.webenv = data['WebEnv'] | 32 self.webenv = data['WebEnv'] |
| 32 self.using_history = True | 33 self.using_history = True |
| 33 | 34 |
| 34 def get_history(self): | 35 def get_history(self): |
