Mercurial > repos > iuc > ncbi_eutils_efetch
comparison eutils.py @ 4:c26d1863f3f3 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit e0575333e6f08ef02fc66c2764b43ebd15c6b04b
| author | iuc |
|---|---|
| date | Fri, 10 Jun 2016 15:03:49 -0400 |
| parents | aa88712a7536 |
| children | e269b3b5185b |
comparison
equal
deleted
inserted
replaced
| 3:aa88712a7536 | 4:c26d1863f3f3 |
|---|---|
| 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 | |
| 31 self.query_key = data['QueryKey'] | 30 self.query_key = data['QueryKey'] |
| 32 self.webenv = data['WebEnv'] | 31 self.webenv = data['WebEnv'] |
| 33 self.using_history = True | 32 self.using_history = True |
| 34 | 33 |
| 35 def get_history(self): | 34 def get_history(self): |
