Skip to content

Commit 756db7c

Browse files
committed
Migration graph determined more carefully
1 parent 0fdda1b commit 756db7c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/simulation/celltree.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,16 @@ bool CellTree::simulate(bool verbose)
700700

701701
MigrationGraph CellTree::getObservedMigrationGraph() const
702702
{
703+
for (Node v_i : _pCloneTT->leafSet())
704+
{
705+
std::cout << "Leaf '" << _pCloneTT->label(v_i) << "' has mutations";
706+
for (int i : (*_pMutationsTT)[v_i])
707+
{
708+
std::cout << " " << i;
709+
}
710+
std::cout << std::endl;
711+
}
712+
703713
StringNodeMap label(_G);
704714
for (NodeIt v_s(_G); v_s != lemon::INVALID; ++v_s)
705715
{

0 commit comments

Comments
 (0)