Skip to content

Commit 8ca37cb

Browse files
committed
Show all CysVis variant classes
1 parent a45e880 commit 8ca37cb

1 file changed

Lines changed: 3 additions & 22 deletions

File tree

d5sc9ge/cysvis/js/variants.js

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -232,29 +232,10 @@ function groupVariantsByResidue(protein, parsedVariants) {
232232
}
233233

234234
function chooseDisplayedVariantGroups(protein, groups) {
235-
if (protein.isCurated || groups.length <= 200) {
236-
return {
237-
displayedGroups: groups,
238-
displayPolicy: "all",
239-
displayPolicyNote: "",
240-
};
241-
}
242-
243-
const pathogenicGroups = groups.filter((group) => group.significanceBucket === "pathogenic");
244-
if (pathogenicGroups.length) {
245-
return {
246-
displayedGroups: pathogenicGroups,
247-
displayPolicy: "pathogenic_only",
248-
displayPolicyNote:
249-
"Showing pathogenic / likely pathogenic variant residues only in the 3D viewer to keep large proteins responsive.",
250-
};
251-
}
252-
253235
return {
254-
displayedGroups: groups.slice(0, 200),
255-
displayPolicy: "capped",
256-
displayPolicyNote:
257-
"Showing a capped subset of variant residues in the 3D viewer to keep large proteins responsive.",
236+
displayedGroups: groups,
237+
displayPolicy: "all",
238+
displayPolicyNote: "",
258239
};
259240
}
260241

0 commit comments

Comments
 (0)