diff efetch.py @ 5:20a86bfb54eb draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 15bcc5104c577b4b9c761f2854fc686c07ffa9db
author iuc
date Thu, 07 Jul 2016 02:38:00 -0400
parents 22fed2340d2b
children 2d54a753d1f1
line wrap: on
line diff
--- a/efetch.py	Fri Jun 10 15:03:27 2016 -0400
+++ b/efetch.py	Thu Jul 07 02:38:00 2016 -0400
@@ -17,8 +17,6 @@
     # Output
     parser.add_argument('--retmode', help='Retmode')
     parser.add_argument('--rettype', help='Rettype')
-    parser.add_argument('--whole', action='store_true',
-                        help='Download all records associated with query')
     args = parser.parse_args()
 
     c = eutils.Client(history_file=args.history_file, user_email=args.user_email, admin_email=args.admin_email)
@@ -34,4 +32,4 @@
         if getattr(args, attr, None) is not None:
             payload[attr] = getattr(args, attr)
 
-    c.fetch(args.db, whole=args.whole, **payload)
+    c.fetch(args.db, ftype=args.retmode, **payload)