commit/galaxy-central: dan: Fix check for displaying old-style display applications when line count approximation is used. Additional cleaner link display for display applications which was started in 4886:f820c9d2c285.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/0861dc121b0f/ changeset: r5229:0861dc121b0f user: dan date: 2011-03-17 14:57:25 summary: Fix check for displaying old-style display applications when line count approximation is used. Additional cleaner link display for display applications which was started in 4886:f820c9d2c285. affected #: 3 files (37 bytes) --- a/lib/galaxy/datatypes/interval.py Wed Mar 16 22:27:15 2011 -0400 +++ b/lib/galaxy/datatypes/interval.py Thu Mar 17 09:57:25 2011 -0400 @@ -144,7 +144,7 @@ return dataset.has_data() \ and dataset.state == dataset.states.OK \ and dataset.metadata.columns > 0 \ - and dataset.metadata.data_lines > 0 \ + and dataset.metadata.data_lines != 0 \ and dataset.metadata.chromCol \ and dataset.metadata.startCol \ and dataset.metadata.endCol --- a/lib/galaxy/datatypes/tabular.py Wed Mar 16 22:27:15 2011 -0400 +++ b/lib/galaxy/datatypes/tabular.py Thu Mar 17 09:57:25 2011 -0400 @@ -235,7 +235,7 @@ return dataset.has_data() \ and dataset.state == dataset.states.OK \ and dataset.metadata.columns > 0 \ - and dataset.metadata.data_lines > 0 + and dataset.metadata.data_lines != 0 except: return False def as_gbrowse_display_file( self, dataset, **kwd ): --- a/templates/root/history_common.mako Wed Mar 16 22:27:15 2011 -0400 +++ b/templates/root/history_common.mako Thu Mar 17 09:57:25 2011 -0400 @@ -179,6 +179,7 @@ %for display_name, display_link in display_links: <a target="${target_frame}" href="${display_link}">${_(display_name)}</a> %endfor + <br /> %endif %endfor %for display_app in data.get_display_applications( trans ).itervalues(): 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