The code below is not smart to keep GUI event acting correctly, so as to move
to initClockModelGroup() that only used in BeautiImporter when loading new
data.
for (ClockModelGroup clockModelGroup : getClockModelGroups()) {
if (clockModelGroup.contain(Microsatellite.INSTANCE, options)) {
if (options.getPartitionClockModels(clockModelGroup).size() == 1) {
fixRateOfFirstClockPartition(clockModelGroup);
options.getPartitionClockModels(clockModelGroup).get(0).setEstimatedRate(true);
} else {
fixMeanRate(clockModelGroup);
}
} else if (!(clockModelGroup.getRateTypeOption() == FixRateType.TIP_CALIBRATED
|| clockModelGroup.getRateTypeOption() == FixRateType.NODE_CALIBRATED
|| clockModelGroup.getRateTypeOption() == FixRateType.RATE_CALIBRATED)) {
//TODO correct?
fixRateOfFirstClockPartition(clockModelGroup);
}
}
Original issue reported on code.google.com by dong.w.xie@gmail.com on 25 Nov 2011 at 1:46
Original issue reported on code.google.com by
dong.w.xie@gmail.com
on 25 Nov 2011 at 1:46