diff egquery.py @ 10:0ccb2855dd55 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 851b88d92fa7740880a5edf407f629bf3f7f7bf0
author iuc
date Fri, 04 Oct 2024 14:35:17 +0000
parents 6c4b39080ed7
children
line wrap: on
line diff
--- a/egquery.py	Mon Jan 23 10:37:57 2023 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-#!/usr/bin/env python
-
-import argparse
-
-import eutils
-
-
-if __name__ == '__main__':
-    parser = argparse.ArgumentParser(description='EGQuery', epilog='')
-    parser.add_argument('term', help='Query')
-
-    parser.add_argument('--user_email', help="User email")
-    parser.add_argument('--admin_email', help="Admin email")
-
-    parser.add_argument('--version', action='version', version=eutils.Client.getVersion(), help='Version (reports Biopython version)')
-
-    args = parser.parse_args()
-
-    c = eutils.Client(user_email=args.user_email, admin_email=args.admin_email)
-
-    payload = {
-        'term': args.term,
-    }
-    results = c.gquery(**payload)
-    print(results)