1 new changeset in galaxy-central:
http://bitbucket.org/galaxy/galaxy-central/changeset/a88d39b19b01/
changeset: a88d39b19b01
user: greg
date: 2011-09-23 20:27:29
summary: Correct the message displayed when index files are missing under certain
circumstances in the tool shed.
affected #: 1 file (-1 bytes)
--- a/lib/galaxy/webapps/community/controllers/common.py Fri Sep 23 13:51:55 2011 -0400
+++ b/lib/galaxy/webapps/community/controllers/common.py Fri Sep 23 14:27:29 2011 -0400
@@ -426,8 +426,12 @@
exception_items = exception_msg.split()
missing_file_items = exception_items[7].split( '/' )
missing_file = missing_file_items[-1].rstrip( '\'' )
+ if missing_file.endswith( '.loc' ):
+ sample_ext = '%s.sample' % missing_file
+ else:
+ sample_ext = missing_file
correction_msg = "This file refers to a missing file
<b>%s</b>. " % str( missing_file )
- correction_msg += "Upload a file named <b>%s</b> to the
repository to correct this error." % missing_file
+ correction_msg += "Upload a file named <b>%s</b> to the
repository to correct this error." % sample_ext
else:
correction_msg = exception_msg
message += "<b>%s</b> - %s<br/>" % ( tool_file,
correction_msg )
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.