commit/galaxy-central: fubar: WebLogo3 wrapper repair to a string format edge case. Reports are good for finding these - user hadn't reported...
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/a9b3f9b82e84/ changeset: a9b3f9b82e84 user: fubar date: 2011-08-20 06:27:30 summary: WebLogo3 wrapper repair to a string format edge case. Reports are good for finding these - user hadn't reported... affected #: 1 file (7 bytes) --- a/tools/rgenetics/rgWebLogo3.py Fri Aug 19 14:37:51 2011 -0400 +++ b/tools/rgenetics/rgWebLogo3.py Sat Aug 20 14:27:30 2011 +1000 @@ -43,11 +43,6 @@ tlf = open(templog,'w') process = subprocess.Popen(cl, shell=True, stderr=tlf, stdout=tlf) rval = process.wait() - if rval <> 0: - print >> sys.stderr, '## rgWebLogo3.py error - executing %s returned error code %d' % cl - print >> sys.stderr, '## This may be a data problem or a tool dependency (%s) installation problem' % WEBLOGO - print >> sys.stderr, '## Please ensure %s is correctly installed and working on the command line -see http://code.google.com/p/weblogo' % WEBLOGO - sys.exit(1) tlf.close() tlogs = ''.join(open(templog,'r').readlines()) if len(tlogs) > 1: @@ -55,6 +50,11 @@ else: s = '## executing %s returned status %d. Nothing appeared on stderr/stdout\n' % (cl,rval) os.unlink(templog) # always + if rval <> 0: + print >> sys.stderr, '## rgWebLogo3.py error - executing %s returned error code %d' % (cl,rval) + print >> sys.stderr, '## This may be a data problem or a tool dependency (%s) installation problem' % WEBLOGO + print >> sys.stderr, '## Please ensure %s is correctly installed and working on the command line -see http://code.google.com/p/weblogo' % WEBLOGO + sys.exit(1) return s Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket