1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/3c87628a9907/ changeset: 3c87628a9907 user: fubar date: 2011-10-04 00:38:33 summary: Increase size limit for display of html files to 10000000 bytes - mirdeep2 creates very large html objects. Size limit for display should probably be configurable. affected #: 1 file (-1 bytes) --- a/lib/galaxy/web/controllers/dataset.py Mon Oct 03 17:12:41 2011 -0400 +++ b/lib/galaxy/web/controllers/dataset.py Tue Oct 04 09:38:33 2011 +1100 @@ -376,6 +376,8 @@ raise paste.httpexceptions.HTTPNotFound( "File Not Found (%s)." % data.file_name ) max_peek_size = 1000000 # 1 MB + if isinstance(data.datatype, datatypes.images.Html): + max_peek_size = 10000000 # 10 MB for html if not preview or isinstance(data.datatype, datatypes.images.Image) or os.stat( data.file_name ).st_size < max_peek_size: return open( data.file_name ) else: 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.