Skip to content

Commit

Permalink
enabled aborting variant anontations in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinDo committed Jun 3, 2024
1 parent bcf8ab9 commit 07dcf43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/annotation_service/annotation_jobs/heredicare_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def save_to_db(self, info, variant_id, conn):
n_fam = heredicare_variant["N_FAM"]
n_pat = heredicare_variant["N_PAT"]
consensus_class = heredicare_variant["PATH_TF"] if heredicare_variant["PATH_TF"] != "-1" else None
comment = heredicare_variant["VUSTF_15"] if heredicare_variant["VUSTF_15"] is not None else ''
comment = heredicare_variant["VUSTF_21"] if heredicare_variant["VUSTF_21"] is not None else ''
comment = comment.strip()
comment = comment if comment != '' else None
classification_date = heredicare_variant["VUSTF_DATUM"] if heredicare_variant["VUSTF_DATUM"] != '' else None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h4>Warnings</h4>
<form action="{{ url_for('user.admin_dashboard', type = 'abort_annotations') }}" id="abort_annotations-form" name="abort_annotations-form" method="post">

<div class="d-flex flex-wrap">
{% for annotation_status in ['pending', 'retry', 'aborted'] %}
{% for annotation_status in ['pending', 'retry', 'progress'] %}
<div class="mb-3 form-check bsr width_very_medium">
<input type="checkbox" class="form-check-input ssr" id="{{annotation_status}}" name="annotation_statuses" value="{{annotation_status}}">
<label class="form-check-label" for="{{ annotation_status }}">{{ annotation_status }}</label>
Expand Down

0 comments on commit 07dcf43

Please sign in to comment.