Skip to content

Commit 08382b4

Browse files
committed
bug fix
1 parent 1f203dc commit 08382b4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

gui_classification/execute_Mclassification.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
c = i;
2222
end
2323
len = temp{4};
24-
ovl = temp{5};
24+
ovl = strsplit(temp{5},'-');
25+
ovl = ovl{1};
2526
%construct the full path of the segmentation object
2627
n_path = fullfile(project_path,'segmentation',strcat('segmentation_configs_',segs,'_',len,'_',ovl,'.mat'));
2728
%test if file exists
@@ -38,7 +39,8 @@
3839
temp = strsplit(classifications{i},'_');
3940
segs = temp{3};
4041
len = temp{4};
41-
ovl = temp{5};
42+
ovl = strsplit(temp{5},'-');
43+
ovl = ovl{1};
4244
%construct the full path of the segmentation object
4345
n_path = fullfile(project_path,'segmentation',strcat('segmentation_configs_',segs,'_',len,'_',ovl,'.mat'));
4446
load(n_path);

0 commit comments

Comments
 (0)