Skip to content

Commit

Permalink
Minor bugfix for overlapping label strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Petre committed Jan 22, 2024
1 parent f35c53b commit b7465c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CanlabCore/@atlas/get_coarser_parcellation.m
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
new_parcels = cell(1,length(new_lbl_parcels));
new_labels = cell(length(valid_lbls), length(new_lbl_parcels));
for i = 1:length(new_lbl_parcels)
this_parcel{i} = obj.select_atlas_subset(new_lbl_parcels(i), new_lbl, 'flatten');
this_parcel{i} = obj.select_atlas_subset(new_lbl_parcels(i), new_lbl, 'exact', 'flatten');
for j = 1:length(kept_lbl_ind)
new_labels{j,i} = obj.(valid_lbls{j}){i};
end
Expand Down

0 comments on commit b7465c7

Please sign in to comment.