exopy_pulses.pulses.utils.normalizers module¶
Utility functions to build user-friendly names from ids.
Those should be use as formatting function argument to the ids_to_unique_names function found in exopy.utils.transformers
- exopy_pulses.pulses.utils.normalizers.normalize_sequence_name(name)[source]¶
Normalize sequence names.
For sequences, strip the terminal Sequence if present, replaces ‘_’ by spaces and add spaces between ‘aA’ sequences. For templates, only the extension file is removed.