From f17fed44293e61ba4551af280a10fce0610873b3 Mon Sep 17 00:00:00 2001 From: ralfHielscher Date: Thu, 7 Sep 2023 09:37:30 +0200 Subject: [PATCH] remove some strange characters from the mineral name to improve matching --- geometry/@crystalSymmetry/crystalSymmetry.m | 1 + 1 file changed, 1 insertion(+) diff --git a/geometry/@crystalSymmetry/crystalSymmetry.m b/geometry/@crystalSymmetry/crystalSymmetry.m index 165fa33d0..4edbca7be 100644 --- a/geometry/@crystalSymmetry/crystalSymmetry.m +++ b/geometry/@crystalSymmetry/crystalSymmetry.m @@ -167,6 +167,7 @@ % set axes, mineral name and color s.axes = axes; s.mineral = get_option(varargin,'mineral',''); + s.mineral = strtrim(regexprep(s.mineral,char(0),' ')); s.color = get_option(varargin,'color',''); if check_option(varargin,'density')