From 44772e457cf7a6103a85815246c39c553b4f2e96 Mon Sep 17 00:00:00 2001 From: Ryan Whaley Date: Tue, 12 Nov 2024 20:58:14 -0800 Subject: [PATCH] test(reporter): fix drug count in PipelineTest - updated to reflect removal of ceftriaxone from FDA recommendations --- src/test/java/org/pharmgkb/pharmcat/PipelineTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/java/org/pharmgkb/pharmcat/PipelineTest.java b/src/test/java/org/pharmgkb/pharmcat/PipelineTest.java index d37ed90c..e7d6910b 100644 --- a/src/test/java/org/pharmgkb/pharmcat/PipelineTest.java +++ b/src/test/java/org/pharmgkb/pharmcat/PipelineTest.java @@ -408,6 +408,9 @@ public static String cleanupRxDip(Element rxDip, Collection genes) { * NOTE: if these assertions fail, then new data may have been added from the DataManager because of an update to the * CPIC database. If that's true, then update these numbers to the current count. If the count changes with no known * change to the CPIC database, then something may be wrong in the code. + * + *

NOTE: you may also want to check the git log of Genes-Drugs.md to see specifically what genes/drugs have + * changed.

*/ @Test void testCounts(TestInfo testInfo) throws Exception { @@ -425,7 +428,7 @@ void testCounts(TestInfo testInfo) throws Exception { .flatMap((k) -> testWrapper.getContext().getDrugReports().get(k).values().stream() .map(DrugReport::getName)) .collect(Collectors.toCollection(TreeSet::new)); - assertEquals(184, drugs.size()); + assertEquals(183, drugs.size()); } @Test