Skip to content
This repository
Browse code

Deleted unneeded guard clause for large proteomes in lipop_scrape_web…

… and tmhmm_scrape_web
  • Loading branch information...
commit 2cd59923fe104781d05fc9dcea870cb63402bc99 1 parent e6464c5
Bosco Ho authored January 24, 2013
5  inmembrane/plugins/lipop_scrape_web.py
@@ -38,11 +38,6 @@ def annotate(params, proteins, \
38 38
   baseurl = "http://www.cbs.dtu.dk"
39 39
   url = baseurl + "/cgi-bin/webface2.fcgi"
40 40
 
41  
-  if len(proteins) > 4000:
42  
-    log_stderr("# ERROR: The LipoP web inteface does not accept > \
43  
-                4000 sequences at one time.")
44  
-    return
45  
-
46 41
   # grab the cached results if present
47 42
   outfile = "lipop_scrape_web.out"
48 43
   if not force and os.path.isfile(outfile):
2  inmembrane/plugins/signalp_web.py
@@ -9,7 +9,7 @@
9 9
             'name': "SignalP 4.0"
10 10
            }
11 11
           
12  
-__DEBUG__ = False
  12
+__DEBUG__ = True
13 13
 
14 14
 import sys, os, time, json
15 15
 from suds.client import Client
5  inmembrane/plugins/tmhmm_scrape_web.py
@@ -37,11 +37,6 @@ def annotate(params, proteins, \
37 37
   baseurl = "http://www.cbs.dtu.dk"
38 38
   url = baseurl + "/cgi-bin/nph-webface"
39 39
 
40  
-  if len(proteins) > 4000:
41  
-    log_stderr("# ERROR: The TMHMM web inteface does not accept > \
42  
-                4000 sequences at one time.")
43  
-    return
44  
-
45 40
   # grab the cached results if present
46 41
   outfile = "tmhmm_scrape_web.out"
47 42
   if not force and os.path.isfile(outfile):

0 notes on commit 2cd5992

Please sign in to comment.
Something went wrong with that request. Please try again.