Skip to content

Commit 55a6068

Browse files
committed
Fix export
1 parent f12f504 commit 55a6068

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

seal/templates/analysis/sample.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,9 +1363,9 @@ <h3>Comments (<span class="commentsCountVar"></span>)</h3>
13631363
type:"string",
13641364
renderConfig: {
13651365
default: (data) => {
1366-
hgvs_split = String(data).split(":");
1366+
hgvs_split = String(data).split(":p.");
13671367
if (hgvs_split.length > 1) {
1368-
return hgvs_split[1];
1368+
return `p.(${hgvs_split[1]})`;
13691369
}
13701370
return ""
13711371
},
@@ -1655,7 +1655,7 @@ <h3>Comments (<span class="commentsCountVar"></span>)</h3>
16551655
if (isNaN(parseFloat(family.allelic_depth)) && isNaN(parseFloat(family.allelic_frequency))) {
16561656
return "NA"
16571657
}
1658-
const af = (isNaN(parseFloat(family.allelic_frequency))) ? ((parseFloat(family.allelic_depth)/parseFloat(family.allelic_frequency))*100).toFixed(2) : '';
1658+
const af = (isNaN(parseFloat(family.allelic_frequency))) ? ((parseFloat(family.allelic_depth)/parseFloat(family.allelic_frequency))*100).toFixed(2) : parseFloat(family.allelic_frequency).toFixed(2);
16591659
return `[${family.filter}] ${af} (${family.allelic_depth}/${family.depth})`;
16601660
},
16611661
}

0 commit comments

Comments
 (0)