Mercurial > repos > iuc > ncbi_eutils_egquery
comparison efetch.py @ 13:e368e943b1d2 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 41f5eb8e0aee5b779d618b5178098c4be89a9ef1
| author | iuc |
|---|---|
| date | Mon, 23 Jan 2023 10:35:23 +0000 |
| parents | f3f5ee550b17 |
| children |
comparison
equal
deleted
inserted
replaced
| 12:d696ef7fc9db | 13:e368e943b1d2 |
|---|---|
| 100 for relpath in glob.glob('downloads-qkey*/*'): | 100 for relpath in glob.glob('downloads-qkey*/*'): |
| 101 file = os.path.basename(relpath) | 101 file = os.path.basename(relpath) |
| 102 os.rename(relpath, 'downloads/%s' % (file)) | 102 os.rename(relpath, 'downloads/%s' % (file)) |
| 103 | 103 |
| 104 if problem is not None: | 104 if problem is not None: |
| 105 raise(problem) | 105 raise problem |
| 106 | 106 |
| 107 else: | 107 else: |
| 108 merged_ids = c.parse_ids(args.id_list, args.id, args.history_file, args.id_xml, args.id_json) | 108 merged_ids = c.parse_ids(args.id_list, args.id, args.history_file, args.id_xml, args.id_json) |
| 109 payload['id'] = ','.join(merged_ids) | 109 payload['id'] = ','.join(merged_ids) |
| 110 newname = 'downloads/EFetch-%s-%s-chunk' % (args.rettype, args.retmode) | 110 newname = 'downloads/EFetch-%s-%s-chunk' % (args.rettype, args.retmode) |
