Mercurial > repos > iuc > ncbi_eutils_egquery
comparison eutils.py @ 3:3ebc86b520d7 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:52 -0400 |
| parents | 22fed2340d2b |
| children | 484b84b30c75 |
comparison
equal
deleted
inserted
replaced
| 2:de108f838cb0 | 3:3ebc86b520d7 |
|---|---|
| 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): |
