Mercurial > repos > iuc > ncbi_eutils_esearch
diff ecitmatch.py @ 1:30150bd36c9a 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:08:02 -0400 |
parents | c8a84e910e6b |
children | e267701c187b |
line wrap: on
line diff
--- a/ecitmatch.py Thu Jul 07 02:40:48 2016 -0400 +++ b/ecitmatch.py Tue Oct 30 19:08:02 2018 -0400 @@ -1,5 +1,8 @@ #!/usr/bin/env python +from __future__ import print_function + import argparse + import eutils @@ -48,7 +51,7 @@ 'key': tmp[5], }) except KeyError: - print "Could not parse line: %s" % line + print("Could not parse line: %s" % line) payload = { 'db': 'pubmed', @@ -57,4 +60,4 @@ results = c.citmatch(**payload) # We get data back as pipe separated, so just replace those with tabs - print results.replace('|', '\t') + print(results.replace('|', '\t'))