Skip to content

Commit

Permalink
make query warning more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Sep 10, 2022
1 parent 5ee025c commit 21a9a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion +bids/query.m
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ case cat(2, {'suffixes', 'suffixes', 'extensions', 'prefixes'}, valid_entity_qu
try
result{end} = subsref(result{end}, target);
catch
warning('Non-existent field for metadata.');
warning('Non-existent field "%s" for metadata.', target);
result{end} = [];
end
end
Expand Down

0 comments on commit 21a9a9e

Please sign in to comment.