Mercurial > repos > iuc > ncbi_eutils_esearch
comparison eutils.py @ 3:49b8084df3ce 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:49:25 -0400 |
| parents | 6ba298236729 |
| children | 258f8ed9a08b |
comparison
equal
deleted
inserted
replaced
| 2:0ea34f262410 | 3:49b8084df3ce |
|---|---|
| 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): |
