public DocumentNodeCounts(SrmDocument doc) { IsPeptideOnly = doc.DocumentType == SrmDocument.DOCUMENT_TYPE.proteomic; MoleculeGroupCount = doc.GetCount((int)SrmDocument.Level.MoleculeGroups); MoleculeCount = doc.GetCount((int)SrmDocument.Level.Molecules); PrecursorCount = doc.GetCount((int)SrmDocument.Level.TransitionGroups); TransitionCount = doc.GetCount((int)SrmDocument.Level.Transitions); }