code: function markDiastereotopicAtoms(molecule) {
    // changed from markDiastereo(); TLS 9.Nov.2015
    let ids = getAtomIDs(molecule);
    let analyzed = {};
    let group = 0;
    for (let id of ids) {
      console.log(`${id} - ${group}`);
      if (!analyzed.contains(id)) {
        analyzed[id] = true;
        for (let iAtom = 0; iAtom < ids.length; iAtom++) {
          if (id.equals(ids[iAtom])) {
            molecule.setAtomCustomLabel(iAtom, group);
          }
        }
        group++;
      }
    }
  }
docs: In order to debug we could number the group of diastereotopic atoms
  
  @param molecule