Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
mayabrandi committed Feb 24, 2021
1 parent bd09a32 commit d1aa250
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion NIPTool/build/document.py
@@ -1,5 +1,4 @@
from NIPTool.models.constants import SAMPLE_KEYS, BATCH_KEYS
from typing import Optional


def build_document(csv_data: dict, document_keys: list) -> dict:
Expand Down
2 changes: 1 addition & 1 deletion NIPTool/server/templates/batch/header.html
Expand Up @@ -30,7 +30,7 @@
Result file</a>
<li class="divider"></li>
<a class="dropdown-item"
href="{{ url_for('server.download', file_id='segmental_calls', batch_id=batch._id) }}">segmental
href="{{ url_for('server.download', file_id='segmental_calls', batch_id=batch._id) }}">Segmental
calls</a>
</ul>
</li>
Expand Down
6 changes: 4 additions & 2 deletions NIPTool/server/templates/batch/tabs/table.html
Expand Up @@ -41,6 +41,7 @@
<th>FFX(%)</th>
<th>FFY(%)</th>
<th>CNVSegment</th>
<th>Download</th>
<th><a href="#" data-toggle="tooltip" data-placement="bottom" title="Warning for chomosome abnormality. Automatically generated. Based on pre defined NCV trsholds">Warning</a></th>
<th><a href="#" data-toggle="tooltip" data-placement="bottom" title="Chomosome abnormalies. Manually classified by user through the sample page">Status</a></th>
<th><a href="#" data-toggle="tooltip" data-placement="bottom" title="Samples checked in the 'Include' column are added to the validation sample set for comparison. Check the checkboxes for samples to include and save. If all samples are ok, just press 'set all OK'.">Include</a></th>
Expand All @@ -61,8 +62,9 @@
<td width="4%" class = "{{sample.FFX.warn}}">{{sample.FFX.value}}</td>
<td width="4%" class = "{{sample.FFY.warn}}">{{sample.FFY.value}}</td>
<td width="4%" class = "{{sample.CNVSegment.warn}}">{{sample.CNVSegment.value}}</td>
<th><p> <small></small></p></th>
<th><p> <small>{{ sample.Status }}</small></p></th>
<td><a class="dropdown-item" href="{{ url_for('server.download', file_id='segmental_calls', batch_id=batch._id) }}">segmental calls</a></td>
<td><p> <small></small></p></td>
<td><p> <small>{{ sample.Status }}</small></p></td>
{% if current_user.role=='RW' %}

<td width="1%" {% if sample.Include %}class="success"{% endif %}> <input type="checkbox" name="include_{{ sample.sample_id }}" {% if sample.Include %}checked{% endif %}></td>
Expand Down

0 comments on commit d1aa250

Please sign in to comment.