Skip to content

Commit

Permalink
Merge branch 'main' into avoid_acmg_nonorthogonal_criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
dnil authored Oct 11, 2024
2 parents 02b11df + 84d7905 commit 7445e19
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ About changelog [here](https://keepachangelog.com/en/1.0.0/)
- Variants query backend allows rank_score filtering
- Added script to tabulate causatives clinical filter rank
- Do not display inheritance models associated to ORPHA terms on variant page
- Moved edit and delete buttons close to gene names on gene panel page and other aesthetical fixes
### Fixed
- Make BA1 fully stand-alone to Benign prediction
- Modifying Benign terms to "Moderate" has no effect under Richards. Ignored completely before, will retain unmodified significance now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
</select>
</div>
<div class="col-md-4">
{{ form.reduced_penetrance() }}
{{ form.reduced_penetrance.label(class="control-label") }}
(OMIM: {{ 'Yes' if gene.incomplete_penetrance else 'unknown' }})
<div>{{ form.reduced_penetrance() }}</div>
</div>
<div class="col-md-4">
{{ form.mosaicism() }}
{{ form.mosaicism.label(class="control-label") }}
<div>{{ form.mosaicism() }}</div>
</div>
</div>
<div class="row">
Expand Down
22 changes: 11 additions & 11 deletions scout/server/blueprints/panels/templates/panels/panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,21 +146,30 @@
<table class="table table-bordered" aria-label="Included genes">
<thead class="table-light thead">
<tr>
<th></th>
<th>Gene</th>
<th>HGNC ID</th>
<th>Transcripts</th>
<th>Disease-associated transcripts</th>
<th>Reduced penetrance</th>
<th>Mosaicism</th>
<th>Entry version</th>
<th>Manual inheritance (pre-set terms)</th>
<th>Manual inheritance (free text terms)</th>
<th>Comment</th>
<th>Action</th>
</tr>
</thead>
<tbody>
{% for gene in panel.genes|sort(attribute='symbol') %}
<tr>
<td>
{% if not panel.is_archived %}
<form class="float-start" action="{{ url_for('panels.panel', panel_id=panel._id) }}" method="POST">
<input type="hidden" name="hgnc_id" value="{{ gene.hgnc_id }}">
<button name="action" type="submit" value="delete" class="btn btn-danger btn-xs">Delete</button>
</form>
<a class="btn btn-secondary text-white btn-xs ms-1" href="{{ url_for('panels.gene_edit', panel_id=panel._id, hgnc_id=gene.hgnc_id) }}">Edit</a>
{% endif %}
</td>
<td>
<a href="{{ url_for('genes.gene', hgnc_id=gene.hgnc_id) }}">
{{ gene.symbol }}
Expand All @@ -175,15 +184,6 @@
<td>{{ gene.inheritance_models|join(', ') }}</td>
<td>{{ gene.custom_inheritance_models|join(', ') }}</td>
<td>{{ gene.comment }}</td>
<td>
{% if not panel.is_archived %}
<a class="btn btn-secondary btn-xs" href="{{ url_for('panels.gene_edit', panel_id=panel._id, hgnc_id=gene.hgnc_id) }}">Edit</a>
<form class="float-end" action="{{ url_for('panels.panel', panel_id=panel._id) }}" method="POST">
<input type="hidden" name="hgnc_id" value="{{ gene.hgnc_id }}">
<button name="action" type="submit" value="delete" class="btn btn-danger btn-xs">Delete</button>
</form>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 7445e19

Please sign in to comment.