Commit 4f25c9eb authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Mathieu Giraud

js/export.js, report.html: no colors for V(D)J segmentation

There are already many colors in the report
parent b1ff6f79
...@@ -501,7 +501,7 @@ Report.prototype = { ...@@ -501,7 +501,7 @@ Report.prototype = {
$('<span/>', {class: 'j_gene', text: seqJ}).appendTo(sequence); $('<span/>', {class: 'j_gene', text: seqJ}).appendTo(sequence);
} }
else if (m.clone(cloneID).getSequence() != "0") { else if (m.clone(cloneID).getSequence() != "0") {
$('<span/>', {class: 'n_gene', text: m.clone(cloneID).getSequence()}).appendTo(sequence); $('<span/>', {class: 'unseg_gene', text: m.clone(cloneID).getSequence()}).appendTo(sequence);
} else { } else {
$('<span/>', {text: 'segment fail'}).appendTo(sequence); $('<span/>', {text: 'segment fail'}).appendTo(sequence);
} }
......
...@@ -172,13 +172,18 @@ ...@@ -172,13 +172,18 @@
border-width: 1px; border-width: 1px;
} }
.v_gene{ .v_gene{
color : #DDA800; margin-right: 1em;
} }
.d_gene{ .d_gene{
color : #B6005D; background-color: #ddd;
margin-right: 1em;
margin-left: 1em;
} }
.j_gene{ .j_gene{
color : #00A237; margin-left: 1em;
}
.n_gene{
background-color: #eee;
} }
.float-right{ .float-right{
float: right; float: right;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment