def __init__(self, spec_name, primary, association, type=None, format=None, # @ReservedAssignment @IgnorePep8 **kwargs): InputFilesets.__init__(self, spec_name, format, frequency='per_session', **kwargs) self._primary = primary if association not in self.VALID_ASSOCIATIONS: raise BananaUsageError( "Invalid association '{}' passed to BidsAssocInput, " "can be one of '{}'".format( association, "', '".join(self.VALID_ASSOCIATIONS))) self._association = association self._type = type
def __init__(self, spec_name, type, valid_formats=None, task=None, modality=None, **kwargs): InputFilesets.__init__(self, spec_name, pattern=None, valid_formats=valid_formats, frequency='per_session', **kwargs) BaseBidsFileset.__init__(self, type, modality, task)
def __init__(self, spec_name, type, valid_formats=None, task=None,# @ReservedAssignment @IgnorePep8 modality=None, **kwargs): InputFilesets.__init__( self, spec_name, pattern=None, valid_formats=valid_formats, frequency='per_session', **kwargs) # @ReservedAssignment @IgnorePep8 BaseBidsFileset.__init__(self, type, modality, task)