Commit 8c263871 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

sensitivity of chembl test adjusted (case insensitivity)

parent 41cb552b
...@@ -72,8 +72,11 @@ public class ChEMBLParserTest extends AnnotationTestFunctions { ...@@ -72,8 +72,11 @@ public class ChEMBLParserTest extends AnnotationTestFunctions {
assertEquals("CABOZANTINIB", drug.getName()); assertEquals("CABOZANTINIB", drug.getName());
assertNull(drug.getDescription()); assertNull(drug.getDescription());
assertEquals(2, drug.getTargets().size()); assertEquals(2, drug.getTargets().size());
logger.debug(drug.getSynonyms()); List<String> lowerCaseSynonyms = new ArrayList<>();
assertTrue(drug.getSynonyms().contains("Cabozantinib")); for (String s: drug.getSynonyms()) {
lowerCaseSynonyms.add(s.toLowerCase());
}
assertTrue(lowerCaseSynonyms.contains("cabozantinib"));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment