@@ -2393,7 +2393,7 @@ export const ProteinViewer = forwardRef<ProteinViewerRef, ProteinViewerProps>(({
23932393 component . removeAllRepresentations ( ) ;
23942394 highlightComponentRef . current = null ;
23952395
2396- console . log ( "[ProteinViewer] updateRepresentation: customColors =" , customColors ) ;
2396+ // Start Update Logic
23972397
23982398
23992399
@@ -2473,15 +2473,13 @@ export const ProteinViewer = forwardRef<ProteinViewerRef, ProteinViewerProps>(({
24732473 if ( rule . residues ) {
24742474 selection += ` and (${ rule . residues } )` ;
24752475 }
2476- console . log ( '[ProteinViewer] Processing Transparency Rule:' , rule ) ;
24772476 transparencySelections . push ( selection ) ;
24782477 } ) ;
24792478 }
24802479
24812480 const transparencyExclusion = transparencySelections . length > 0
24822481 ? transparencySelections . map ( s => ` and not (${ s } )` ) . join ( '' )
24832482 : "" ;
2484- console . log ( '[ProteinViewer] Transparency Exclusion String:' , transparencyExclusion ) ;
24852483
24862484 // --- 3. APPLY CUSTOM OVERRIDES USING SELECTION SCHEME ---
24872485 if ( customColors && customColors . length > 0 && NGL . ColormakerRegistry . addSelectionScheme ) {
@@ -2693,7 +2691,6 @@ export const ProteinViewer = forwardRef<ProteinViewerRef, ProteinViewerProps>(({
26932691
26942692 let actualStyle = style as any ;
26952693 if ( actualStyle === 'backbone' ) actualStyle = 'trace' ;
2696- console . log ( `[ProteinViewer] Chain ${ chain } style: ${ style } -> ${ actualStyle } ` ) ;
26972694
26982695 const chainParams : any = {
26992696 ...params , // Use clean params (without accumulated cartoon properties)
0 commit comments