Skip to content

Commit

Permalink
removed more warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nbollis committed Oct 3, 2024
1 parent bc83198 commit cca22e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion MetaMorpheus/EngineLayer/PsmTsv/PsmTsvReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static List<PsmFromTsv> ReadTsv(string filePath, out List<string> warning
}
catch (Exception e)
{
warnings.Add("Could not read line: " + lineCount);
warnings.Add($"Could not read line: {lineCount} with error message: {e.Message}");
}
}

Expand Down
1 change: 0 additions & 1 deletion MetaMorpheus/Test/SpectralRecoveryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public void SpectralRecoveryTestSetup()
Path.Combine(TestContext.CurrentContext.TestDirectory, "TestData", @"SpectralRecoveryTest\K13_20ng_1min_frac1.mzML") };
databaseList = new List<DbForTask>() {new DbForTask(
Path.Combine(TestContext.CurrentContext.TestDirectory, "TestData", @"SpectralRecoveryTest\HumanFastaSlice.fasta"), false) };
outputFolder = outputFolder;

SearchTask searchTask = new SearchTask
{
Expand Down
2 changes: 1 addition & 1 deletion MetaMorpheus/Test/TestDataFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ public TestDataFile(PeptideWithSetModifications pepWithSetMods)
Scans = ScansHere.ToArray();
}

public string FilePath
public new string FilePath
{
get
{
Expand Down
4 changes: 2 additions & 2 deletions MetaMorpheus/Test/XLTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1636,7 +1636,7 @@ internal class XLTestDataFile : MsDataFile
Scans = ScansHere.ToArray();
}

public static string FilePath
public new static string FilePath
{
get
{
Expand Down Expand Up @@ -1718,7 +1718,7 @@ internal class XLTestDataFileDiffSite : MsDataFile
Scans = ScansHere.ToArray();
}

public string FilePath
public new string FilePath
{
get
{
Expand Down

0 comments on commit cca22e6

Please sign in to comment.