Mercurial > repos > iuc > ncbi_eutils_ecitmatch
comparison esummary.py @ 1:732a52c18758 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit a4b0969b33a68a0ea9ba12291f6694aec24f13ed
author | iuc |
---|---|
date | Tue, 30 Oct 2018 19:11:26 -0400 |
parents | 68cd8d564e0a |
children | b00212deaea7 |
comparison
equal
deleted
inserted
replaced
0:68cd8d564e0a | 1:732a52c18758 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 from __future__ import print_function | |
3 | |
2 import argparse | 4 import argparse |
5 | |
3 import eutils | 6 import eutils |
4 | 7 |
5 | 8 |
6 if __name__ == '__main__': | 9 if __name__ == '__main__': |
7 parser = argparse.ArgumentParser(description='ESummary', epilog='') | 10 parser = argparse.ArgumentParser(description='ESummary', epilog='') |
24 if args.history_file is not None: | 27 if args.history_file is not None: |
25 payload.update(c.get_history()) | 28 payload.update(c.get_history()) |
26 else: | 29 else: |
27 payload['id'] = ','.join(merged_ids) | 30 payload['id'] = ','.join(merged_ids) |
28 | 31 |
29 print c.summary(**payload) | 32 print(c.summary(**payload)) |