split_label_text#

brainglobe_atlasapi.atlas_generation.annotation_utils.split_label_text(name: str) str[source]#

Split label text into name + acronym.

If the label text ends with ‘)’, extract the acronym inside parentheses. Otherwise, use the first letter as the acronym.