File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 86
86
shape(2 : size(shape , 2 ));
87
87
end
88
88
89
- err.identifier = ' Block:unsupportedDataType ' ;
89
+ err.identifier = ' NIXMX:UnsupportedDataType ' ;
90
90
if (~isa(datatype , ' nix.DataType' ))
91
91
err.message = ' Please provide a valid nix.DataType' ;
92
92
error(err );
110
110
shape = size(data , 2 );
111
111
end
112
112
113
- err.identifier = ' Block:unsupportedDataType ' ;
113
+ err.identifier = ' NIXMX:UnsupportedDataType ' ;
114
114
if (ischar(data ))
115
115
err.message = ' Writing char/string DataArrays is currently not supported.' ;
116
116
error(err );
Original file line number Diff line number Diff line change 98
98
try
99
99
b .create_data_array(' stringDataArray' , dtype , nix .DataType .String , [1 5 ]);
100
100
catch ME
101
- assert(strcmp(ME .identifier , ' Block:unsupportedDataType ' ));
101
+ assert(strcmp(ME .identifier , ' NIXMX:UnsupportedDataType ' ));
102
102
end ;
103
103
104
104
try
105
105
b .create_data_array(' I will crash and burn' , dtype , ' Thou shalt not work!' , [1 5 ]);
106
106
catch ME
107
- assert(strcmp(ME .identifier , ' Block:unsupportedDataType ' ));
107
+ assert(strcmp(ME .identifier , ' NIXMX:UnsupportedDataType ' ));
108
108
end ;
109
109
110
110
da = b .create_data_array(' floatDataArray' , dtype , nix .DataType .Float , [3 3 ]);
153
153
try
154
154
b .create_data_array_from_data(' stringDataArray' , daType , [' a' ' b' ]);
155
155
catch ME
156
- assert(strcmp(ME .identifier , ' Block:unsupportedDataType ' ));
156
+ assert(strcmp(ME .identifier , ' NIXMX:UnsupportedDataType ' ));
157
157
end ;
158
158
159
159
try
160
160
b .create_data_array_from_data(' I will crash and burn' , daType , {1 2 3 });
161
161
catch ME
162
- assert(strcmp(ME .identifier , ' Block:unsupportedDataType ' ));
162
+ assert(strcmp(ME .identifier , ' NIXMX:UnsupportedDataType ' ));
163
163
end ;
164
164
165
165
assert(~isempty(b .dataArrays ));
You can’t perform that action at this time.
0 commit comments