Skip to content

Commit 22d11c5

Browse files
committed
fix: readYAMLmodel if empty string is ''
1 parent a1e9d84 commit 22d11c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

io/readYAMLmodel.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
line_value = regexprep(line_raw, '.*:$','');
5959
line_value = regexprep(line_value, '[^":]+: "?(.+)"?$','$1');
6060
line_value = regexprep(line_value, '(")|(^ {4,}- )','');
61-
61+
line_value(strcmp(line_value,'''''')) = {''};
6262
line_value(strcmp(line_value,line_raw)) = {''};
6363

6464
modelFields = {'id',char();...

0 commit comments

Comments
 (0)