commit/galaxy-central: fubar: More comprehensive error detection for weblogo installation or execution errors
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/d271dfcdf482/ changeset: d271dfcdf482 user: fubar date: 2011-07-07 02:04:20 summary: More comprehensive error detection for weblogo installation or execution errors affected #: 2 files (431 bytes) --- a/tools/rgenetics/rgWebLogo3.py Wed Jul 06 10:20:57 2011 -0400 +++ b/tools/rgenetics/rgWebLogo3.py Thu Jul 07 10:04:20 2011 +1000 @@ -43,6 +43,11 @@ 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: --- a/tools/rgenetics/rgWebLogo3.xml Wed Jul 06 10:20:57 2011 -0400 +++ b/tools/rgenetics/rgWebLogo3.xml Thu Jul 07 10:04:20 2011 +1000 @@ -1,4 +1,4 @@ -<tool id="rgweblogo3" name="Sequence Logo" version="0.3"> +<tool id="rgweblogo3" name="Sequence Logo" version="0.4"><description>generator for fasta (eg Clustal alignments)</description><command interpreter="python"> rgWebLogo3.py -F $outformat -s $size -i $input -o $output -t "$logoname" -c "$colours" -U "$units" 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