Skip to content

Commit

Permalink
Fixed incorrect code reference in error
Browse files Browse the repository at this point in the history
When we suspect an incompatible schema version, we recommend:
misc.getSchemaVersion() which was moved to util.getSchemaVersion().

This changes the error message to reflect that.
  • Loading branch information
Lawrence committed Apr 9, 2020
1 parent 71690e7 commit 6a6b8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion +types/+util/checkUnset.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function checkUnset(obj, argin)
['Unexpected properties {%s}. '...
'\n\nYour schema version may be incompatible with the file. '...
'Consider checking the schema version of the file with '...
'`misc.getSchemaVersion(filename)` '...
'`util.getSchemaVersion(filename)` '...
'and comparing with the YAML namespace version present in '...
'nwb-schema/core/nwb.namespace.yaml'], misc.cellPrettyPrint(dropped));
end

0 comments on commit 6a6b8d9

Please sign in to comment.