From ab7a76318e2aeffcffbf384bae2331029fb5a765 Mon Sep 17 00:00:00 2001 From: morgan <18010233+StrangeStuff@users.noreply.github.com> Date: Mon, 20 May 2019 14:26:39 +0200 Subject: [PATCH] Fix "speciesLocation" attribute in export recphyloxml Fix the speciesLocation value of th --- src/DTLGraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DTLGraph.cpp b/src/DTLGraph.cpp index 69a083f..a937056 100755 --- a/src/DTLGraph.cpp +++ b/src/DTLGraph.cpp @@ -2864,7 +2864,7 @@ string DTLGraph::getRecPhyloXMLReconciliation( if(mSpeciesTree->getNodeById(lostSonX)->isLeaf()) idToPrintLoss=mSpeciesTree->getNodeById(lostSonX)->getName() ; else - idToPrintLoss=bpp::TextTools::toString(mSpeciesTree->getNodeById(lostSonX)) ; + idToPrintLoss=bpp::TextTools::toString(mSpeciesTree->getNodeById(lostSonX)->getId()) ; geneTree_recPhyloXML_format = geneTree_recPhyloXML_format + idToPrintLoss;