_mainpanel.getTabbedPane().setSelectedIndex( selected );
showWhole();
_mainpanel.getCurrentTreePanel().setEdited( true );
+ final int poly = PhylogenyMethods.countNumberOfPolytomies( species_tree );
if ( gsdi.getStrippedExternalGeneTreeNodes().size() > 0 ) {
JOptionPane.showMessageDialog( this,
"Duplications: " + gsdi.getDuplicationsSum() + "\n"
+ "Speciations: " + gsdi.getSpeciationsSum() + "\n"
+ "Stripped gene tree nodes: "
+ gsdi.getStrippedExternalGeneTreeNodes().size() + "\n"
- + "Taxonomy linkage based on: " + gsdi.getTaxCompBase() + "\n",
+ + "Taxonomy linkage based on: " + gsdi.getTaxCompBase() + "\n"
+ + "Number of polytomies in species tree used: " + poly + "\n",
"GSDI successfully completed",
JOptionPane.WARNING_MESSAGE );
}
+ "Speciations: " + gsdi.getSpeciationsSum() + "\n"
+ "Stripped gene tree nodes: "
+ gsdi.getStrippedExternalGeneTreeNodes().size() + "\n"
- + "Taxonomy linkage based on: " + gsdi.getTaxCompBase() + "\n",
+ + "Taxonomy linkage based on: " + gsdi.getTaxCompBase() + "\n"
+ + "Number of polytomies in species tree used: " + poly + "\n",
"GSDI successfully completed",
JOptionPane.INFORMATION_MESSAGE );
}
_mainpanel.getTabbedPane().setSelectedIndex( selected );
showWhole();
_mainpanel.getCurrentTreePanel().setEdited( true );
+ final int poly = PhylogenyMethods.countNumberOfPolytomies( species_tree );
if ( gsdir.getStrippedExternalGeneTreeNodes().size() > 0 ) {
JOptionPane.showMessageDialog( this,
- "Duplications: " + gsdir.getMinDuplicationsSum() + "\n" + "Speciations: "
- + gsdir.getSpeciationsSum() + "\n" + "Stripped gene tree nodes: "
+ "Minimal duplications: " + gsdir.getMinDuplicationsSum() + "\n"
+ + "Speciations: " + gsdir.getSpeciationsSum() + "\n"
+ + "Stripped gene tree nodes: "
+ gsdir.getStrippedExternalGeneTreeNodes().size() + "\n"
- + "Taxonomy linkage based on: " + gsdir.getTaxCompBase() + "\n",
+ + "Taxonomy linkage based on: " + gsdir.getTaxCompBase() + "\n"
+ + "Number of polytomies in species tree used: " + poly + "\n",
"GSDIR successfully completed",
JOptionPane.WARNING_MESSAGE );
}
else {
JOptionPane.showMessageDialog( this,
- "Duplications: " + gsdir.getMinDuplicationsSum() + "\n" + "Speciations: "
- + gsdir.getSpeciationsSum() + "\n" + "Stripped gene tree nodes: "
+ "Minimal duplications: " + gsdir.getMinDuplicationsSum() + "\n"
+ + "Speciations: " + gsdir.getSpeciationsSum() + "\n"
+ + "Stripped gene tree nodes: "
+ gsdir.getStrippedExternalGeneTreeNodes().size() + "\n"
- + "Taxonomy linkage based on: " + gsdir.getTaxCompBase() + "\n",
+ + "Taxonomy linkage based on: " + gsdir.getTaxCompBase() + "\n"
+ + "Number of polytomies in species tree used: " + poly + "\n",
"GSDIR successfully completed",
JOptionPane.INFORMATION_MESSAGE );
}