diff --git a/MetaMorpheus/EngineLayer/PsmTsv/PsmTsvReader.cs b/MetaMorpheus/EngineLayer/PsmTsv/PsmTsvReader.cs index 8375b4cd3..2714fab20 100644 --- a/MetaMorpheus/EngineLayer/PsmTsv/PsmTsvReader.cs +++ b/MetaMorpheus/EngineLayer/PsmTsv/PsmTsvReader.cs @@ -46,7 +46,7 @@ public static List ReadTsv(string filePath, out List warning } catch (Exception e) { - warnings.Add("Could not read line: " + lineCount); + warnings.Add($"Could not read line: {lineCount} with error message: {e.Message}"); } } diff --git a/MetaMorpheus/Test/SpectralRecoveryTest.cs b/MetaMorpheus/Test/SpectralRecoveryTest.cs index c69e03aa2..6a9cbb18b 100644 --- a/MetaMorpheus/Test/SpectralRecoveryTest.cs +++ b/MetaMorpheus/Test/SpectralRecoveryTest.cs @@ -97,7 +97,6 @@ public void SpectralRecoveryTestSetup() Path.Combine(TestContext.CurrentContext.TestDirectory, "TestData", @"SpectralRecoveryTest\K13_20ng_1min_frac1.mzML") }; databaseList = new List() {new DbForTask( Path.Combine(TestContext.CurrentContext.TestDirectory, "TestData", @"SpectralRecoveryTest\HumanFastaSlice.fasta"), false) }; - outputFolder = outputFolder; SearchTask searchTask = new SearchTask { diff --git a/MetaMorpheus/Test/TestDataFile.cs b/MetaMorpheus/Test/TestDataFile.cs index 3289041d2..f24a04b4d 100644 --- a/MetaMorpheus/Test/TestDataFile.cs +++ b/MetaMorpheus/Test/TestDataFile.cs @@ -419,7 +419,7 @@ public TestDataFile(PeptideWithSetModifications pepWithSetMods) Scans = ScansHere.ToArray(); } - public string FilePath + public new string FilePath { get { diff --git a/MetaMorpheus/Test/XLTest.cs b/MetaMorpheus/Test/XLTest.cs index f8a136ed7..515dd1c43 100644 --- a/MetaMorpheus/Test/XLTest.cs +++ b/MetaMorpheus/Test/XLTest.cs @@ -1636,7 +1636,7 @@ internal class XLTestDataFile : MsDataFile Scans = ScansHere.ToArray(); } - public static string FilePath + public new static string FilePath { get { @@ -1718,7 +1718,7 @@ internal class XLTestDataFileDiffSite : MsDataFile Scans = ScansHere.ToArray(); } - public string FilePath + public new string FilePath { get {