Console.log.info(
"Ignoring additional clusterings for contact matrix");
}
-
+
String treeMethod = xmlmat.getTreeMethod();
double thresh = xmlmat.getCutHeight()!=null ? xmlmat.getCutHeight() : 0;
newpae.restoreGroups(newgroups, treeMethod, nwk, thresh);
Assert.assertEquals(oldCM.getContactAt(j), newCM.getContactAt(j));
}
}
- Assert.assertEquals(dummyMat.hasGroups(), restoredMat.hasGroups());
- Assert.assertEquals(dummyMat.getGroups(), restoredMat.getGroups());
- Assert.assertEquals(dummyMat.hasTree(), restoredMat.hasTree());
- Assert.assertEquals(dummyMat.getNewick(), restoredMat.getNewick());
+ Assert.assertEquals(restoredMat.hasGroups(), dummyMat.hasGroups());
+ Assert.assertEquals(restoredMat.getGroups(), dummyMat.getGroups());
+ Assert.assertEquals(restoredMat.hasTree(), dummyMat.hasTree());
+ Assert.assertEquals( restoredMat.getNewick(),dummyMat.getNewick());
}