protoclass.utils.check_modality

protoclass.utils.check_modality(modality, template_modality)[source]

Check the modality class is the same than a template modality.

Parameters:

modality : object

The modality object of interest.

template_modality : object

The template modality object of interest.

Returns:

None