Skip to content

Commit

Permalink
GT compute allow missing rows with warn
Browse files Browse the repository at this point in the history
  • Loading branch information
allenleetc committed Jul 12, 2018
1 parent ba67a8c commit 54cf925
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Labeler.m
Expand Up @@ -6346,11 +6346,13 @@ function gtUpdateSuggMFTableLbledIncremental(obj)

[tf,loc] = tblismember(tblMFT_SuggAndLbled,tblTrkRes,MFTable.FLDSID);
if ~all(tf)
error('Tracking/prediction results not present for %d GT rows.',...
warningNoTrace('Tracking/prediction results not present for %d GT rows. Results will be computed with those rows removed.',...
nnz(~tf));
end

tblMFT_SuggAndLbled = tblMFT_SuggAndLbled(tf,:);
loc = loc(tf);
end
tblTrkRes = tblTrkRes(loc,:);

tblMFT_SuggAndLbled = obj.labelAddLabelsMFTable(tblMFT_SuggAndLbled);
pTrk = tblTrkRes.pTrk;
pLbl = tblMFT_SuggAndLbled.p;
Expand Down

0 comments on commit 54cf925

Please sign in to comment.