neurosynth/base/dataset.py
def save(self, filename):
        """ Pickle the Dataset instance to the provided file.
        """
        if hasattr(self, 'feature_table'):
            self.feature_table._sdf_to_csr()

        pickle.dump(self, open(filename, 'wb'), -1)

        if hasattr(self, 'feature_table'):
            self.feature_table._csr_to_sdf()
def save(self, filename):
        if hasattr(self, 'feature_table'):
            self.feature_table._sdf_to_csr()

        pickle.dump(self, open(filename, 'wb'), -1)

        if hasattr(self, 'feature_table'):
            self.feature_table._csr_to_sdf()
def save ( self , filename ) : if hasattr ( self , 'feature_table' ) : self . feature_table . _sdf_to_csr ( ) pickle . dump ( self , open ( filename , 'wb' ) , - 1 ) if hasattr ( self , 'feature_table' ) : self . feature_table . _csr_to_sdf ( )
Pickle the Dataset instance to the provided file.
Pickle the Dataset instance to the provided file .