Procházet zdrojové kódy

consider BB atoms as trace

Alexander Rose před 3 roky
rodič
revize
051b48776e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/mol-repr/structure/visual/util/common.ts

+ 1 - 1
src/mol-repr/structure/visual/util/common.ts

@@ -291,7 +291,7 @@ export function isH(atomicNumber: ArrayLike<number>, element: ElementIndex) {
 export function isTrace(unit: Unit, element: ElementIndex) {
     if (Unit.isCoarse(unit)) return true;
     const atomId = unit.model.atomicHierarchy.atoms.label_atom_id.value(element);
-    if (atomId === 'CA' || atomId === 'P') return true;
+    if (atomId === 'CA' || atomId === 'BB' || atomId === 'P') return true;
     return false;
 }