def __init__(self, mongo_collection, base_directory):
        """Initialize the MongoDB collection and base directory where to store
        functional data MRI files.

        Parameters
        ----------
        mongo_collection : Collection
            Collection in MongoDB storing functional data information
        base_directory : string
            Base directory on local disk for anatomy files. Files are stored
            in sub-directories named by the object identifier.
        """
        # The original name of uploaded files is a mandatory and immutable
        # property. This name is used as file name when downloading fMRI
        # data. The file type and mime type do not change either.
        properties = [
            datastore.PROPERTY_FILENAME,
            datastore.PROPERTY_FILESIZE,
            datastore.PROPERTY_MIMETYPE,
            datastore.PROPERTY_FUNCDATAFILE
        ]
        # Initialize the super class
        super(DefaultFunctionalDataManager, self).__init__(
            mongo_collection,
            base_directory,
            properties
        )
def __init__ ( self , mongo_collection , base_directory ) : properties = [ datastore . PROPERTY_FILENAME , datastore . PROPERTY_FILESIZE , datastore . PROPERTY_MIMETYPE , datastore . PROPERTY_FUNCDATAFILE ] super ( DefaultFunctionalDataManager , self ) . __init__ ( mongo_collection , base_directory , properties )
Initialize the MongoDB collection and base directory where to store
        functional data MRI files.

        Parameters
        ----------
        mongo_collection : Collection
            Collection in MongoDB storing functional data information
        base_directory : string
            Base directory on local disk for anatomy files. Files are stored
            in sub-directories named by the object identifier.