Skip to content

Commit

Permalink
refactor: round to and display single a decimal place (#597)
Browse files Browse the repository at this point in the history
* refactor: round to and display single a decimal place

* chore: update reports

* chore: update history
  • Loading branch information
ChristianLieven committed Jan 28, 2019
1 parent 1e3128d commit ff3637f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Next Release
identical genes.
* Refactor test that identifies duplicate metabolites to use for inchi
strings in addition to inchikeys.
* Round score to and display a single decimal value.

0.8.11 (2019-01-07)
-------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*ngIf="results.result === 'passed' || results.result === 'failed'"
class="MatButtonEmulation"
[ngStyle]="{'background-color':highlightColor}">
{{ 1 - results.metric | percent : '1.0' }}
{{ 1 - results.metric | percent : '1.1' }}
</div>
<!-- Skipped tests are marked with a gray button with beige text -->
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div
class="MatButtonEmulation"
[ngStyle]="{'background-color':getColor(1 - data.byID(testId)?.metric | number : '1.2-2')}">
{{ 1 - data.byID(testId)?.metric | percent : '1.0' }}
{{ 1 - data.byID(testId)?.metric | percent : '1.1' }}
<!-- {{ 1 - data.byID(testId)?.metric | percent : '1.2-2' }} -->
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion memote/suite/templates/index.html

Large diffs are not rendered by default.

0 comments on commit ff3637f

Please sign in to comment.