SEE ALSO LIGAND.TXT Ligands and non-standard residues reported in the molecule information tab: getHetNam() in moltab.js Count is done with e.g. print {[TRS] and hetero}.groupindex.all.count().length This was failing in JSmol 14.3.7 with 1ijw consistently, reported to jmol-users Sept 20, 2014.