def unpack_nidm_zip(self):
        if not self.ttl or not self.provn:
            self.parse_metafiles()
        if not self.contrasts:
            self.parse_contrasts()

        try:
            self.zip.extractall(path=self.workdir)
            self.unzipped = True
        except Exception,e:
            raise self.ParseException("Unable to unzip: %s" % e)
dataset/ETHPy150Open NeuroVault/NeuroVault/neurovault/apps/statmaps/nidm_results.py/NIDMUpload.unpack_nidm_zip/original