diff iedb_api.py @ 3:153d5fa7af53 draft

"planemo upload for repository https://github.com/jj-umn/galaxytools/tree/master/iedb_api commit 250d6261ba8c695446f845f2f31c6cca8d87a427-dirty"
author jjohnson
date Wed, 26 Feb 2020 16:27:06 -0500
parents 4a89ba6cfc63
children a14128950578
line wrap: on
line diff
--- a/iedb_api.py	Wed Feb 26 15:02:37 2020 -0500
+++ b/iedb_api.py	Wed Feb 26 16:27:06 2020 -0500
@@ -5,9 +5,8 @@
 import re
 import sys
 import time
-
 from urllib.error import HTTPError
-from urllib.parse import urlencode, unquote
+from urllib.parse import unquote, urlencode
 from urllib.request import urlopen
 
 mhci_methods = ['recommended', 'consensus',
@@ -186,13 +185,13 @@
                             warn_err(msg, exit_code=1)
                         if line.find('eptide') > 0:
                             header = "#%s%s" %\
-                                    ("ID\t" if seqid else "", line)
+                                ("ID\t" if seqid else "", line)
                             if args.debug:
                                 print(header, file=sys.stderr)
                             continue
                         elif method == 'Bepipred' and line.find('Residue') > 0:
                             header2 = "#%s%s" %\
-                                    ("ID\t" if seqid else "", line)
+                                ("ID\t" if seqid else "", line)
                             if args.debug:
                                 print(header2, file=sys.stderr)
                             rslts = results2