Skip to content

Commit

Permalink
Update schema constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
ehennestad committed Aug 28, 2023
1 parent d9be47e commit ac9a844
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pipeline/instanceDisplayConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@
"stringFormat": ""
},
"numericalProperty": {
"propertyName": "",
"stringFormat": ""
"propertyName": "name",
"stringFormat": "sprintf('%s', name)"
},
"propertyValueList": {
"propertyName": "lookupLabel",
Expand All @@ -216,8 +216,8 @@
"stringFormat": "sprintf('%s', name)"
},
"stringProperty": {
"propertyName": "",
"stringFormat": ""
"propertyName": "name",
"stringFormat": "sprintf('%s', name)"
},
"subject": {
"propertyName": "lookupLabel",
Expand Down
2 changes: 1 addition & 1 deletion pipeline/matlab_schema_class_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ classdef {{ class_name }} < {{base_class}}

methods
function obj = {{ class_name }}(varargin)
obj.assignPVPairs(varargin{:})
obj@openminds.abstract.Schema(varargin{:})
end
end

Expand Down

0 comments on commit ac9a844

Please sign in to comment.