scout-browser 4.82.1__py3-none-any.whl → 4.82.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scout/__version__.py +1 -1
- scout/server/blueprints/cases/templates/cases/case_bionano.html +3 -24
- scout/server/blueprints/cases/templates/cases/case_report.html +5 -3
- scout/server/blueprints/cases/templates/cases/case_sma.html +2 -13
- scout/server/blueprints/cases/templates/cases/individuals_table.html +2 -12
- scout/server/blueprints/cases/templates/cases/utils.html +17 -0
- scout/server/blueprints/variants/controllers.py +2 -4
- scout/server/blueprints/variants/templates/variants/str-variants.html +1 -1
- {scout_browser-4.82.1.dist-info → scout_browser-4.82.2.dist-info}/METADATA +1 -1
- {scout_browser-4.82.1.dist-info → scout_browser-4.82.2.dist-info}/RECORD +14 -14
- {scout_browser-4.82.1.dist-info → scout_browser-4.82.2.dist-info}/LICENSE +0 -0
- {scout_browser-4.82.1.dist-info → scout_browser-4.82.2.dist-info}/WHEEL +0 -0
- {scout_browser-4.82.1.dist-info → scout_browser-4.82.2.dist-info}/entry_points.txt +0 -0
- {scout_browser-4.82.1.dist-info → scout_browser-4.82.2.dist-info}/top_level.txt +0 -0
scout/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "4.82.
|
1
|
+
__version__ = "4.82.2"
|
@@ -1,5 +1,6 @@
|
|
1
1
|
{% extends "cases/case_tabular_view.html" %}
|
2
2
|
{% from "utils.html" import comments_panel, activity_panel %}
|
3
|
+
{% from "cases/utils.html" import sex_table_cell_content %}
|
3
4
|
|
4
5
|
{% block title %}
|
5
6
|
{{ super() }}
|
@@ -96,18 +97,7 @@
|
|
96
97
|
{% if loop.index == 1 %}
|
97
98
|
<td> {{ ind.display_name }}</td>
|
98
99
|
<td style="font-weight: bold;">
|
99
|
-
|
100
|
-
{% if ind.sex_human == 'female' %}
|
101
|
-
F
|
102
|
-
{% elif ind.sex_human == 'male' %}
|
103
|
-
M
|
104
|
-
{% else %}
|
105
|
-
{{ind.sex_human}}
|
106
|
-
{% endif %}
|
107
|
-
{% endif %}
|
108
|
-
{% if ind.confirmed_sex %}
|
109
|
-
<i class="fa fa-check"></i>
|
110
|
-
{% endif %}
|
100
|
+
{{ sex_table_cell_content(ind) }}
|
111
101
|
</td>
|
112
102
|
<td>{{ ind.phenotype_human }}</td>
|
113
103
|
{% else %}
|
@@ -130,18 +120,7 @@
|
|
130
120
|
<tr class="bg-secondary text-white">
|
131
121
|
<td> {{ ind.display_name }}</td>
|
132
122
|
<td style="font-weight: bold;">
|
133
|
-
|
134
|
-
{% if ind.sex_human == 'female' %}
|
135
|
-
F
|
136
|
-
{% elif ind.sex_human == 'male' %}
|
137
|
-
M
|
138
|
-
{% else %}
|
139
|
-
{{ind.sex_human}}
|
140
|
-
{% endif %}
|
141
|
-
{% endif %}
|
142
|
-
{% if ind.confirmed_sex %}
|
143
|
-
<i class="fa fa-check"></i>
|
144
|
-
{% endif %}
|
123
|
+
{{ sex_table_cell_content(ind) }}
|
145
124
|
</td>
|
146
125
|
<td>{{ ind.phenotype_human }}</td>
|
147
126
|
<td colspan="4">N/A</td>
|
@@ -124,9 +124,11 @@
|
|
124
124
|
{% else %}
|
125
125
|
n.a.
|
126
126
|
{% endif %}
|
127
|
-
|
128
|
-
|
129
|
-
|
127
|
+
{% if ind.confirmed_sex %}
|
128
|
+
<span class="badge rounded-pill py-1 bg-secondary">V</span>
|
129
|
+
{% else %}
|
130
|
+
<span class="fa fa-exclamation-circle text-danger" data-bs-toggle='tooltip' title="Sex is not confirmed."></span>
|
131
|
+
{% endif %}
|
130
132
|
</td>
|
131
133
|
<td>
|
132
134
|
{% if ind.phenotype==2 %} <!--for later use-->
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{% extends "cases/case_tabular_view.html" %}
|
2
2
|
{% from "utils.html" import comments_panel, activity_panel %}
|
3
|
-
{% from "cases/utils.html" import individuals_table %}
|
3
|
+
{% from "cases/utils.html" import individuals_table, sex_table_cell_content %}
|
4
4
|
|
5
5
|
{% block title %}
|
6
6
|
{{ super() }}
|
@@ -100,18 +100,7 @@
|
|
100
100
|
{% endif %}>
|
101
101
|
<td>{{ ind.display_name }}</td>
|
102
102
|
<td style="font-weight: bold;">
|
103
|
-
{
|
104
|
-
{% if ind.sex_human == 'female' %}
|
105
|
-
F
|
106
|
-
{% elif ind.sex_human == 'male' %}
|
107
|
-
M
|
108
|
-
{% else %}
|
109
|
-
{{ind.sex_human}}
|
110
|
-
{% endif %}
|
111
|
-
{% endif %}
|
112
|
-
{% if ind.confirmed_sex %}
|
113
|
-
<i class="fa fa-check"></i>
|
114
|
-
{% endif %}
|
103
|
+
{{ sex_table_cell_content(ind) }}
|
115
104
|
</td>
|
116
105
|
<td>{{ ind.phenotype_human }}</td>
|
117
106
|
<td>{{ ind.is_sma }}</td>
|
@@ -1,3 +1,4 @@
|
|
1
|
+
{% from "cases/utils.html" import sex_table_cell_content %}
|
1
2
|
|
2
3
|
{% macro cancer_individuals_table(case, institute, tissues, gens_info=None) %}
|
3
4
|
<form method="POST" action="{{ url_for('cases.update_cancer_sample', institute_id=institute._id, case_name=case.display_name) }}">
|
@@ -138,18 +139,7 @@
|
|
138
139
|
<option {% if not ind.sex_human in ["female", "male"] %} selected= {% endif %} value="unknown">Unknown</option>
|
139
140
|
</select>
|
140
141
|
<div class="sex-display fw-bold">
|
141
|
-
{
|
142
|
-
{% if ind.sex_human == 'female' %}
|
143
|
-
F
|
144
|
-
{% elif ind.sex_human == 'male' %}
|
145
|
-
M
|
146
|
-
{% else %}
|
147
|
-
{{ind.sex_human}}
|
148
|
-
{% endif %}
|
149
|
-
{% endif %}
|
150
|
-
{% if ind.confirmed_sex %}
|
151
|
-
<i class="fa fa-check"></i>
|
152
|
-
{% endif %}
|
142
|
+
{{ sex_table_cell_content(ind) }}
|
153
143
|
</div>
|
154
144
|
</td>
|
155
145
|
<td><input name="age_{{ind.individual_id}}" type="number" step="0.1" min="0"
|
@@ -681,3 +681,20 @@
|
|
681
681
|
</div>
|
682
682
|
</form>
|
683
683
|
{% endmacro %}
|
684
|
+
|
685
|
+
{% macro sex_table_cell_content(ind) %}
|
686
|
+
{% if ind.sex_human in ['female','male'] %}
|
687
|
+
{% if ind.sex_human == 'female' %}
|
688
|
+
F
|
689
|
+
{% elif ind.sex_human == 'male' %}
|
690
|
+
M
|
691
|
+
{% else %}
|
692
|
+
{{ind.sex_human}}
|
693
|
+
{% endif %}
|
694
|
+
{% endif %}
|
695
|
+
{% if ind.confirmed_sex %}
|
696
|
+
<i class="fa fa-check"></i>
|
697
|
+
{% else %}
|
698
|
+
<span class="fa fa-exclamation-circle text-danger" data-bs-toggle='tooltip' title="Sex is not confirmed."></span>
|
699
|
+
{% endif %}
|
700
|
+
{% endmacro %}
|
@@ -941,7 +941,6 @@ def parse_variant(
|
|
941
941
|
variant_obj["end_chrom"] = variant_obj["chromosome"]
|
942
942
|
|
943
943
|
# common motif count for STR variants
|
944
|
-
|
945
944
|
variant_obj["str_mc"] = get_str_mc(variant_obj)
|
946
945
|
|
947
946
|
# variant level links shown on variants page
|
@@ -970,7 +969,6 @@ def get_str_mc(variant_obj: dict) -> Optional[int]:
|
|
970
969
|
from the variant FORMAT field, or as a number given in the ALT on the form
|
971
970
|
'<STR123>'.
|
972
971
|
"""
|
973
|
-
|
974
972
|
alt_mc = None
|
975
973
|
if variant_obj["alternative"] == ".":
|
976
974
|
return alt_mc
|
@@ -982,9 +980,9 @@ def get_str_mc(variant_obj: dict) -> Optional[int]:
|
|
982
980
|
if alt_mc:
|
983
981
|
return alt_mc
|
984
982
|
|
985
|
-
alt_num = NUM.
|
983
|
+
alt_num = NUM.search(variant_obj["alternative"])
|
986
984
|
if alt_num:
|
987
|
-
alt_mc = int(alt_num)
|
985
|
+
alt_mc = int(alt_num.group())
|
988
986
|
return alt_mc
|
989
987
|
|
990
988
|
return None
|
@@ -93,7 +93,7 @@
|
|
93
93
|
<td class="str-link">{{ str_locus_info(variant) }}</td>
|
94
94
|
<td class="text-end">{{ variant.str_display_ru or variant.str_ru or variant.reference }}</td>
|
95
95
|
<td class="text-end"><b><span data-bs-toggle="tooltip" title="{{ variant.alternative }}">{{ variant.str_mc }}</span></b></td>
|
96
|
-
|
96
|
+
<td class="text-end"><span data-bs-toggle="tooltip" title="{{ variant.reference }}">{{ variant.str_ref or "." }}</span></td>
|
97
97
|
<td>{{ str_status(variant) }}</td>
|
98
98
|
<td>{% for sample in variant.samples %}
|
99
99
|
{% if sample.genotype_call != "./." %}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
scout/__init__.py,sha256=Z4liXvmEcLkC67ElsWvYHfemPKdWgWI5O6MB6XlDM8M,232
|
2
|
-
scout/__version__.py,sha256
|
2
|
+
scout/__version__.py,sha256=-tAuS8cIDLp6AGxFKcTo19IOq_e24ShlFdKfJzggGj0,23
|
3
3
|
scout/adapter/__init__.py,sha256=-iX_hx2NI1EMAqX0pMd5_90Nnd9uvIMxv9EbefYBzsc,86
|
4
4
|
scout/adapter/client.py,sha256=0VR5LRPEqZg_bAxQte1RGMxV8BSiQordbPs57PaZTlI,1512
|
5
5
|
scout/adapter/mongo/__init__.py,sha256=NdHYCUXWUAuX5cUS3-6HCws2hW9uoGep8i0SC-oJd3k,31
|
@@ -454,20 +454,20 @@ scout/server/blueprints/cases/static/case_styles.css,sha256=2Pgc8pFf9DR5HM1sTdAj
|
|
454
454
|
scout/server/blueprints/cases/static/edit_pedigree.js,sha256=ntC5fie7SsOYJau8qkke1UHxjiYWY_gBzWcIkGpdJUA,2978
|
455
455
|
scout/server/blueprints/cases/static/madeline.js,sha256=KHxKMBVlYVJODNu5QkY9hhsGkDJNoaCoCZZ0DRu0YN0,1175
|
456
456
|
scout/server/blueprints/cases/templates/cases/case.html,sha256=4u3XfrgcV1cZFWxQ5vmKJdWV-gEmnCr9SdP_rrUNt6o,35110
|
457
|
-
scout/server/blueprints/cases/templates/cases/case_bionano.html,sha256=
|
458
|
-
scout/server/blueprints/cases/templates/cases/case_report.html,sha256=
|
459
|
-
scout/server/blueprints/cases/templates/cases/case_sma.html,sha256=
|
457
|
+
scout/server/blueprints/cases/templates/cases/case_bionano.html,sha256=PLoRv7hDJcHwxhi-0hC9fQSZc7V_aUYHBhhQqcn_2G8,5946
|
458
|
+
scout/server/blueprints/cases/templates/cases/case_report.html,sha256=1tosH5xEl6CCZ1P6qlR5OKvWbAC5z3ewKL_JGdgPMBM,63635
|
459
|
+
scout/server/blueprints/cases/templates/cases/case_sma.html,sha256=SAcElb4kH05mkPdEdaEbed-vbgQQGfxioCoNZsHljDc,4962
|
460
460
|
scout/server/blueprints/cases/templates/cases/case_tabular_view.html,sha256=ko-LDUKmIoTazMZ2nFWvPEZsgObU07RwqIkDYFjokoY,4317
|
461
461
|
scout/server/blueprints/cases/templates/cases/chanjo2_form.html,sha256=5Wmk7DM8LI3MynqzxeTzAr_EoEBwVVo31djcI5ZlTdo,2164
|
462
462
|
scout/server/blueprints/cases/templates/cases/collapsible_actionbar.html,sha256=5CEHrjCXLS4VVqZSGOob0SNKxjyhg2f0oy7r2f64TK0,29252
|
463
463
|
scout/server/blueprints/cases/templates/cases/diseases.html,sha256=ETTQI0Nrl_v86NoX9mFZcvWD-qM1IJoqPmHPWn__Grw,1677
|
464
464
|
scout/server/blueprints/cases/templates/cases/gene_panel.html,sha256=fR2fCb5A_dBUTTyI4GfwARtOC6k9LeFunx8flbb6qko,12309
|
465
465
|
scout/server/blueprints/cases/templates/cases/index.html,sha256=oUmjFyUvwP4yo21CxcWy-6eepMFI65hpznMEpSEqKfM,1207
|
466
|
-
scout/server/blueprints/cases/templates/cases/individuals_table.html,sha256=
|
466
|
+
scout/server/blueprints/cases/templates/cases/individuals_table.html,sha256=DXE7gE0f81B5CxCV1e5bqWv27_HS-9-8nc0pcFkMoOg,11497
|
467
467
|
scout/server/blueprints/cases/templates/cases/institutes_sidebar.html,sha256=u0oPGHJ0ipZ1LkjHkbwlWfkUWc1h6XH1nh3tkbX17z0,4546
|
468
468
|
scout/server/blueprints/cases/templates/cases/matchmaker.html,sha256=1vwGBhM4HgvRMlO1foKBAwV-Wfvfs1MRvzteOETCZeM,13142
|
469
469
|
scout/server/blueprints/cases/templates/cases/phenotype.html,sha256=38BIwPzTgv5_9BLaTi8beafU2fOrVIfnlV-s88WAx3k,15982
|
470
|
-
scout/server/blueprints/cases/templates/cases/utils.html,sha256=
|
470
|
+
scout/server/blueprints/cases/templates/cases/utils.html,sha256=kYctb7PKlKKjYHHJ0LpdqYsBpJf2tq_yzrwsRQ8td_w,34803
|
471
471
|
scout/server/blueprints/clinvar/__init__.py,sha256=BV3aH2AbiA2WWrUEMbGd0H9MefFd2eTsRE9ShywbzpI,30
|
472
472
|
scout/server/blueprints/clinvar/controllers.py,sha256=TEOdUTVYI-I_lzts0F3M_TFPMkeeweWIUxWug5HUhDw,24059
|
473
473
|
scout/server/blueprints/clinvar/form.py,sha256=d0EBJouYsk-kIpGtAr_SfNCyLoBNchfLt25uFR9HxO0,5155
|
@@ -605,7 +605,7 @@ scout/server/blueprints/variant/templates/variant/utils.html,sha256=EPwtCxHKhtMD
|
|
605
605
|
scout/server/blueprints/variant/templates/variant/variant.html,sha256=bgO3kb4u45IrgCPUJrHT4paNDOQzcKx5dw0ZYbBmCsc,18914
|
606
606
|
scout/server/blueprints/variant/templates/variant/variant_details.html,sha256=J-pF8LRXFnCxIbNfL7klTLj172rlpWF8PznO4ie9Igc,19921
|
607
607
|
scout/server/blueprints/variants/__init__.py,sha256=W1KCz9kEbVlNO0o3NvLitYLQoP_3JSJ5KSjhpcjlUBQ,55
|
608
|
-
scout/server/blueprints/variants/controllers.py,sha256=
|
608
|
+
scout/server/blueprints/variants/controllers.py,sha256=Kg88oWq86nSJfJG8YqO4J2QxpbsLiGR_VwPW0BFMGRo,73074
|
609
609
|
scout/server/blueprints/variants/forms.py,sha256=5BRl2mhiqjuOhsjWXDJjfX95im-NIMxKS-oSbeHiYuM,8944
|
610
610
|
scout/server/blueprints/variants/utils.py,sha256=ifFBoyigx0A5KPE4iz9NSpyuUeF1bElrb4ohQLD2GlU,919
|
611
611
|
scout/server/blueprints/variants/views.py,sha256=h2z5x7_eA0niXlhOAkYI4eduz3je5XGw_EUnbMenuNA,28136
|
@@ -616,7 +616,7 @@ scout/server/blueprints/variants/templates/variants/components.html,sha256=oNeLa
|
|
616
616
|
scout/server/blueprints/variants/templates/variants/fusion-variants.html,sha256=XGaLgWobzeFHwyQLXr_Yq9THssf8tGU91VbFKdGOFBg,4801
|
617
617
|
scout/server/blueprints/variants/templates/variants/indicators.html,sha256=BX6Wg8OpsALCGGozR1eXT57D0Ixrf-OFXVg6G20Wjr0,4400
|
618
618
|
scout/server/blueprints/variants/templates/variants/mei-variants.html,sha256=0-wYjaiUByDduWMgmRS4AMg3IppPNtjZL1vvAdFuIPI,5994
|
619
|
-
scout/server/blueprints/variants/templates/variants/str-variants.html,sha256=
|
619
|
+
scout/server/blueprints/variants/templates/variants/str-variants.html,sha256=sMM6GiuOU8anACtxrSF6YETsuwWUbEQZyyWhl06ev20,10186
|
620
620
|
scout/server/blueprints/variants/templates/variants/sv-variants.html,sha256=SgAdgIPdr7pd2TDB2PJlXOmSAjX4WUslfm4eu0cjIBI,6310
|
621
621
|
scout/server/blueprints/variants/templates/variants/utils.html,sha256=2WriO5n0IGzVw4kvt1D_hz47TAkdxhHsgAfFnfO_sww,49231
|
622
622
|
scout/server/blueprints/variants/templates/variants/variants.html,sha256=nfSZXVGmsjjUuRC-54G9UsNBMhlNjnvBafN34uL73tY,9333
|
@@ -660,9 +660,9 @@ scout/utils/hgvs.py,sha256=P5i3fIK8WZZlUnjZ8XpMDUG5KDXRCDSOs55DfK5acsc,898
|
|
660
660
|
scout/utils/link.py,sha256=RuCUwnOtGDf9ACaC64_1FqWyWDaBv7dqNEGjmCq59kk,9001
|
661
661
|
scout/utils/md5.py,sha256=KkgdxOf7xbF9AF40ZjQKCgWaxFWJ9tp9RKjd8SU6IoA,649
|
662
662
|
scout/utils/scout_requests.py,sha256=owL_XvsrQJG4e0EUuUiY6y_hqKKep2Qljg1nMukzp8Y,12855
|
663
|
-
scout_browser-4.82.
|
664
|
-
scout_browser-4.82.
|
665
|
-
scout_browser-4.82.
|
666
|
-
scout_browser-4.82.
|
667
|
-
scout_browser-4.82.
|
668
|
-
scout_browser-4.82.
|
663
|
+
scout_browser-4.82.2.dist-info/LICENSE,sha256=TM1Y9Cqbwk55JVfxD-_bpGLtZQAeN9RovQlqHK6eOTY,1485
|
664
|
+
scout_browser-4.82.2.dist-info/METADATA,sha256=QYoeVAZXLiAZ03LhP9VPsklCcz0fasyK60PvsFE8HGs,14280
|
665
|
+
scout_browser-4.82.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
666
|
+
scout_browser-4.82.2.dist-info/entry_points.txt,sha256=E6vGg1OwvvKYIsXdHxmlIj7RmcTF0K77Q_PU8laImGg,46
|
667
|
+
scout_browser-4.82.2.dist-info/top_level.txt,sha256=qM75h71bztMaLYsxn1up4c_n2rjc_ZnyaW6Q0K5uOXc,6
|
668
|
+
scout_browser-4.82.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|