split_label_text#
- brainglobe_atlasapi.atlas_generation.annotation_utils.split_label_text(name, acronym_length=1)[source]#
Split label text into name + acronym.
If the label text ends with ‘)’, extract the acronym inside parentheses. Otherwise, you can specify how many first letters you would like to use as acronym
- Return type:
str