/// <summary> /// Constructor where the PeptideHit result type is explicitly set /// </summary> /// <param name="inputFilePath">Input file to read</param> /// <param name="resultType">Source file PeptideHit result type</param> /// <param name="startupOptions">Startup options</param> public clsPHRPReader(string inputFilePath, PeptideHitResultTypes resultType, clsPHRPStartupOptions startupOptions) { ErrorMessages = new List <string>(); WarningMessages = new List <string>(); throw new Exception("Class clsPHRPReader is obsolete; replace with the ReaderFactory class"); }
/// <summary> /// Constructor that auto-determines the PeptideHit result type based on the filename /// </summary> /// <param name="inputFilePath">Input file to read</param> /// <param name="startupOptions">Startup options</param> public clsPHRPReader(string inputFilePath, clsPHRPStartupOptions startupOptions) : this(inputFilePath, PeptideHitResultTypes.Unknown, startupOptions) { }