snake_to_camel_case#

petpal.utils.bids_utils.snake_to_camel_case(snake_str)#

Converts a snake_case string to CamelCase.

The function breaks the input string by underscores and capitalizes each segment to generate CamelCase.

Parameters:

snake_str (str) – The snake_case string to convert.

Returns:

str – The converted CamelCase string.