File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -232,29 +232,10 @@ function groupVariantsByResidue(protein, parsedVariants) {
232232}
233233
234234function 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
You can’t perform that action at this time.
0 commit comments