/** delete ligand info but not bond. * not for public use. */ void clearLigandInfo() { int nlig = ligandAtoms.size(); for (int i = nlig - 1; i >= 0; i--) { this.clearLigandInfo(ligandBonds.get(i), ligandAtoms.get(i)); } }
void clearLigandInfo() { List<CMLAtom> atomList = this.getAtoms(); for (CMLAtom atom : atomList) { atom.clearLigandInfo(); } }
if (atoms.size() == 2) { try { atoms.get(0).clearLigandInfo(bond, atoms.get(1)); } catch (RuntimeException e) { err++; atoms.get(1).clearLigandInfo(bond, atoms.get(0)); } catch (RuntimeException e) { err++;