Skip to content

Commit

Permalink
Change default Koina URL (#3233)
Browse files Browse the repository at this point in the history
* changed default Koina URL (requested by Koina dev)
* relaxed Koina test RT and intensity epsilon to 1e-2 (m/z epsilon is still tight)
  • Loading branch information
chambm authored Nov 25, 2024
1 parent 2a391a3 commit b92fa3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<KoinaConfig xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Server>koina.proteomicsdb.org:443</Server>
</KoinaConfig>
<Server>koina.wilhelmlab.org:443</Server>
</KoinaConfig>
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void comparePredictionResultsToFile(string intensityModel, string rtModel, bool
var expected = predictionTests.First(t => t.PeptideModSeq == key.ModifiedSequence);
Assert.AreEqual(expected.PrecursorMz, precursorMz, 1e-8, $"{testTag}: PrecursorMz not equal");
Assert.AreEqual(expected.PrecursorCharge, key.Charge, $"{testTag}: PrecursorCharge not equal");
Assert.AreEqual(expected.RetentionTime, spectrum.RetentionTime.Value, 1e-5, $"{testTag}: RetentionTime not equal");
Assert.AreEqual(expected.RetentionTime, spectrum.RetentionTime.Value, 1e-2, $"{testTag}: RetentionTime not equal");

if (!comparePeaks)
continue;
Expand All @@ -276,7 +276,7 @@ void comparePredictionResultsToFile(string intensityModel, string rtModel, bool
var expectedPeak = expected.Peaks[i];
var actualPeak = actualPeaks[i];
Assert.AreEqual(expectedPeak.Mz, actualPeak.Mz, 1e-5, $"{testTag}: peak[{i}].Mz not equal");
Assert.AreEqual(expectedPeak.Intensity, actualPeak.Intensity, 1e-5, $"{testTag}: peak[{i}].Intensity not equal");
Assert.AreEqual(expectedPeak.Intensity, actualPeak.Intensity, 1e-2, $"{testTag}: peak[{i}].Intensity not equal");
}
}
}
Expand Down

0 comments on commit b92fa3a

Please sign in to comment.