Skip to content
Snippets Groups Projects
Commit d547693c authored by Mark Winter's avatar Mark Winter
Browse files

Fix to remove deleted hulls from phenotype list.

parent 98ae5c17
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,12 @@ ...@@ -4,7 +4,12 @@
% ChangeLog: % ChangeLog:
% EW 6/8/12 created % EW 6/8/12 created
function ClearHull( hullID ) function ClearHull( hullID )
global CellHulls GraphEdits CachedCostMatrix global CellHulls CellPhenotypes GraphEdits CachedCostMatrix
bHullPhenotype = (CellPhenotypes.hullPhenoSet(1,:) == hullID);
if ( nnz(bHullPhenotype) > 0 )
CellPhenotypes.hullPhenoSet = CellPhenotypes.hullPhenoSet(:,~bHullPhenotype);
end
CellHulls(hullID).time = []; CellHulls(hullID).time = [];
CellHulls(hullID).points = []; CellHulls(hullID).points = [];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment