Skip to content

Commit

Permalink
Merge 29778dc into cbcc967
Browse files Browse the repository at this point in the history
  • Loading branch information
mayabrandi committed Jul 26, 2021
2 parents cbcc967 + 29778dc commit ace59d0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions statina/API/external/api/api_v1/templates/batch/plots/FF.html
Expand Up @@ -29,8 +29,8 @@
var backstat = {
y: {{control['FF']}},
x: {{control['FFY']}},
text: {{control['names']|tojson}},
name: 'Negative (N={{control['count']}})',
hoverinfo: 'none',
mode: 'markers',
type: 'scatter',
marker: {color: '#ccccb3'}
Expand Down Expand Up @@ -85,8 +85,8 @@
var backstat = {
y: {{control['FF']}},
x: {{control['FFX']}},
text: {{control['names']|tojson}},
name: 'Negative (N={{control['count']}})',
hoverinfo: 'none',
mode: 'markers',
type: 'scatter',
marker: {color: '#ccccb3'}
Expand Down
Expand Up @@ -33,7 +33,6 @@
x: {{control['FFX']}},
text: {{control['names']|tojson}},
name: 'Negative (N={{control['count']}})',
hoverinfo: 'none',
mode: 'markers',
type: 'scatter',
marker: {color: '#ccccb3'}
Expand Down
Expand Up @@ -11,7 +11,7 @@
showline: true,
ticktext: {{ncv_chrom_data[chrom]['names']|tojson}},
tickvals: {{ncv_chrom_data[chrom]['x_axis']}},
tickangle: 20,
tickangle: 90,
linecolor: '#636363',
linewidth: 5,
showgrid: true,
Expand Down Expand Up @@ -41,13 +41,13 @@

var box = {
y: {{ normal_data[chrom].ncv_values }},
text: {{ normal_data[chrom].names|tojson }},
pointpos: 30,
type: 'box',
marker: {
color: '#ccccb3'
},
name: 'Negative (N={{normal_data[chrom].count}})',
hoverinfo: 'none'
}
data.push(box)

Expand Down
Expand Up @@ -78,13 +78,13 @@
var normal = {
y: {{data.ncv_values}},
x: {{data.x_axis}},
text: {{ data.names|tojson }},
pointpos: 30,
type: 'box',
showlegend: true,
marker: {
color: '#ccccb3'},
name: 'Negative T{{chrom}} (N={{data.count}})',
hoverinfo:'none',
boxpoints: 'suspectedoutliers',
};

Expand Down
1 change: 1 addition & 0 deletions tests/crud/test_get_statistics.py
Expand Up @@ -67,6 +67,7 @@ def test_get_statistics_for_box_plot(database, small_helpers):
# THEN the results shoule be:
for batch_id in batches:
assert results[batch_id] == {
"sample_ids": [f"{batch_id}1", f"{batch_id}2", f"{batch_id}3"],
"FF_Formatted": [1, 2, 3],
"Ratio_13": [1, 2, 3],
"_id": {"batch": batch_id, "date": "2022-03-10"},
Expand Down

0 comments on commit ace59d0

Please sign in to comment.