Probe other = probeit.next();
//Don't do anything if other is same as probe being analysed
if (!other.equals(p) && other.tagsAllocated()) {
byte dimer = compare(p,other);
if (dimer == HI_RISK)
ProbeMakerPropertyUtils.addMessage(p,new Message("High risk of hetero-dimer formation with " + other.getName(), //$NON-NLS-1$
PROBE_DIMER_FORMATION, Message.ERROR));
else if (dimer == RISK)
ProbeMakerPropertyUtils.addMessage(p,new Message("Risk of hetero-dimer formation with " + other.getName(), //$NON-NLS-1$
PROBE_DIMER_FORMATION, Message.WARNING));
}
}
}
if (tests[1].perform()) {
byte dimer = compare(p,p);
if (dimer == HI_RISK)
ProbeMakerPropertyUtils.addMessage(p,new Message("High risk of homo-dimer formation", //$NON-NLS-1$
PROBE_DIMER_FORMATION, Message.ERROR));
else if (dimer == RISK)
ProbeMakerPropertyUtils.addMessage(p,new Message("Risk of homo-dimer formation", //$NON-NLS-1$
PROBE_DIMER_FORMATION, Message.WARNING));
}
}