farrellja / URD

URD - Reconstruction of Branching Developmental Trajectories
GNU General Public License v3.0
117 stars 41 forks source link

Fix bug when only one start cell is given #7

Closed zouter closed 5 years ago

zouter commented 6 years ago

When only one start cell is given, doing tm.flood[cells.not.visited, cells.visited] will convert this to a vector, which leads to all sorts of errors downstream.

rcannood commented 6 years ago

Hello @zouter and @farrellja,

I can confirm that I also had this problem and that the code in this pull request solves the issue. I recommend merging it.

Robrecht