Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
kouichi-c-nakamura committed Jun 13, 2018
1 parent b76d226 commit 2c6ef51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Training/matlab/WriteData.m
Original file line number Diff line number Diff line change
Expand Up @@ -677,13 +677,13 @@

% Unlink single annotation
fprintf(1, 'Unlinking file annotation from project %g\n', projectId1);
unlinkAnnotation(session, 'project', projectId1, fa);
unlinkAnnotations(session, 'project', projectId1, fa);
assert(isempty(getProjectFileAnnotations(session, projectId1)),...
'WriteData: Annotation not deleted');

% Unlink all annotations linked to a project
fprintf(1, 'Unlinking all annotations from project %g\n', projectId1);
unlinkAnnotation(session, 'project', projectId1);
unlinkAnnotations(session, 'project', projectId1);
assert(isempty(getProjectFileAnnotations(session, projectId1)),...
'WriteData: Annotation not deleted');
assert(isempty(getProjectTagAnnotations(session, projectId1)),...
Expand Down

0 comments on commit 2c6ef51

Please sign in to comment.