Skip to content

Commit

Permalink
BUG: Remove extra % sign and fix height resizing
Browse files Browse the repository at this point in the history
There was a vestigial % sign in one of the format strings, this would
cause the height to be set incorrectly. Fixes biocore#420
  • Loading branch information
ElDeveloper committed Oct 21, 2016
1 parent 93a13cc commit 9b177af
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions emperor/_format_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
<div id="emperor-menu">
<div id="emperor-menu-tabs">
<ul>
<ul id="emperor-menu-list">
<li><a href="#keytab">Key</a></li>
<li><a href="#colorby">Colors</a></li>
<li><a href="#showby">Visibility</a></li>
Expand Down Expand Up @@ -216,7 +216,7 @@
</tr>
<tr>
<td>
<div class="list" id="showbylist" style="height:100%%;width:100%%">
<div class="list" id="showbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -246,7 +246,7 @@
</tr>
<tr>
<td>
<div class="list" id="scalingbylist" style="height:100%%;width:100%%">
<div class="list" id="scalingbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down
6 changes: 3 additions & 3 deletions tests/_test_core_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
<div id="emperor-menu">
<div id="emperor-menu-tabs">
<ul>
<ul id="emperor-menu-list">
<li><a href="#keytab">Key</a></li>
<li><a href="#colorby">Colors</a></li>
<li><a href="#showby">Visibility</a></li>
Expand Down Expand Up @@ -249,7 +249,7 @@
</tr>
<tr>
<td>
<div class="list" id="showbylist" style="height:100%%;width:100%%">
<div class="list" id="showbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -279,7 +279,7 @@
</tr>
<tr>
<td>
<div class="list" id="scalingbylist" style="height:100%%;width:100%%">
<div class="list" id="scalingbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down
30 changes: 15 additions & 15 deletions tests/_test_format_strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
<div id="emperor-menu">
<div id="emperor-menu-tabs">
<ul>
<ul id="emperor-menu-list">
<li><a href="#keytab">Key</a></li>
<li><a href="#colorby">Colors</a></li>
<li><a href="#showby">Visibility</a></li>
Expand Down Expand Up @@ -314,7 +314,7 @@
</tr>
<tr>
<td>
<div class="list" id="showbylist" style="height:100%%;width:100%%">
<div class="list" id="showbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -344,7 +344,7 @@
</tr>
<tr>
<td>
<div class="list" id="scalingbylist" style="height:100%%;width:100%%">
<div class="list" id="scalingbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -528,7 +528,7 @@
<div id="emperor-menu">
<div id="emperor-menu-tabs">
<ul>
<ul id="emperor-menu-list">
<li><a href="#keytab">Key</a></li>
<li><a href="#colorby">Colors</a></li>
<li><a href="#showby">Visibility</a></li>
Expand Down Expand Up @@ -575,7 +575,7 @@
</tr>
<tr>
<td>
<div class="list" id="showbylist" style="height:100%%;width:100%%">
<div class="list" id="showbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -605,7 +605,7 @@
</tr>
<tr>
<td>
<div class="list" id="scalingbylist" style="height:100%%;width:100%%">
<div class="list" id="scalingbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -793,7 +793,7 @@
<div id="emperor-menu">
<div id="emperor-menu-tabs">
<ul>
<ul id="emperor-menu-list">
<li><a href="#keytab">Key</a></li>
<li><a href="#colorby">Colors</a></li>
<li><a href="#showby">Visibility</a></li>
Expand Down Expand Up @@ -828,7 +828,7 @@
</tr>
<tr>
<td>
<div class="list" id="showbylist" style="height:100%%;width:100%%">
<div class="list" id="showbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -858,7 +858,7 @@
</tr>
<tr>
<td>
<div class="list" id="scalingbylist" style="height:100%%;width:100%%">
<div class="list" id="scalingbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -1038,7 +1038,7 @@
<div id="emperor-menu">
<div id="emperor-menu-tabs">
<ul>
<ul id="emperor-menu-list">
<li><a href="#keytab">Key</a></li>
<li><a href="#colorby">Colors</a></li>
<li><a href="#showby">Visibility</a></li>
Expand Down Expand Up @@ -1073,7 +1073,7 @@
</tr>
<tr>
<td>
<div class="list" id="showbylist" style="height:100%%;width:100%%">
<div class="list" id="showbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -1103,7 +1103,7 @@
</tr>
<tr>
<td>
<div class="list" id="scalingbylist" style="height:100%%;width:100%%">
<div class="list" id="scalingbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -1287,7 +1287,7 @@
<div id="emperor-menu">
<div id="emperor-menu-tabs">
<ul>
<ul id="emperor-menu-list">
<li><a href="#keytab">Key</a></li>
<li><a href="#colorby">Colors</a></li>
<li><a href="#showby">Visibility</a></li>
Expand Down Expand Up @@ -1322,7 +1322,7 @@
</tr>
<tr>
<td>
<div class="list" id="showbylist" style="height:100%%;width:100%%">
<div class="list" id="showbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down Expand Up @@ -1352,7 +1352,7 @@
</tr>
<tr>
<td>
<div class="list" id="scalingbylist" style="height:100%%;width:100%%">
<div class="list" id="scalingbylist" style="height:100%;width:100%">
</div>
</td>
</tr>
Expand Down

0 comments on commit 9b177af

Please sign in to comment.