Commit 1780b78c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't ignore miriam data fromm annotators

parent 5285c25e
Pipeline #46586 passed with stage
in 35 minutes and 31 seconds
......@@ -326,7 +326,7 @@ public class Chemical implements Serializable, TargettingStructure {
public boolean containsTarget(MiriamData miriamTarget) {
boolean result = false;
for (Target target : getTargets()) {
result |= target.getGenes().contains(miriamTarget);
result |= target.getGenes().contains(new MiriamData(miriamTarget.getDataType(), miriamTarget.getResource()));
}
return result;
}
......
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