utils/SettingsReader.py
def substVersatileChannels(self, channel: str) -> str:
        """Substitutes related versatile channel names, which should be the name of the source file type channel in settings.

        :param channel: versatile channel name, like samples or gaze.
        :return: master channel name.
        """
        #FIXME hotfix
        if channel in self.main.SAMPLES_COMPONENTS_LIST and self.hasType('samples') and not self.hasType('saccade'):
            return 'samples'
        elif channel in self.main.GAZE_COMPONENTS_LIST and self.hasType('gaze') and not self.hasType('fixations'):
            return 'gaze'
        else:
            return channel
Substitutes related versatile channel names, which should be the name of the source file type channel in settings.

        :param channel: versatile channel name, like samples or gaze.
        :return: master channel name.
        
Substitutes related versatile channel names, which should be the name of the source file type channel in settings.
Substitutes related versatile channel names which should be the name of the source file type channel in settings .
def substVersatileChannels(self, channel: str) -> str:
        if channel in self.main.SAMPLES_COMPONENTS_LIST and self.hasType('samples') and not self.hasType('saccade'):
            return 'samples'
        elif channel in self.main.GAZE_COMPONENTS_LIST and self.hasType('gaze') and not self.hasType('fixations'):
            return 'gaze'
        else:
            return channel
def substVersatileChannels ( self , channel : str ) -> str : if channel in self . main . SAMPLES_COMPONENTS_LIST and self . hasType ( 'samples' ) and not self . hasType ( 'saccade' ) : return 'samples' elif channel in self . main . GAZE_COMPONENTS_LIST and self . hasType ( 'gaze' ) and not self . hasType ( 'fixations' ) : return 'gaze' else : return channel
Substitutes related versatile channel names, which should be the name of the source file type channel in settings.
Substitutes related versatile channel names which should be the name of the source file type channel in settings .
"""Substitutes related versatile channel names, which should be the name of the source file type channel in settings.

        :param channel: versatile channel name, like samples or gaze.
        :return: master channel name.
        """ #FIXME hotfix
master channel name.
master channel name .
self
channel
str
versatile channel name, like samples or gaze.
versatile channel name like samples or gaze .