def testCorrectFromFEmptyBfile(self): dann = Dry() with self.assertRaises(ValueError): dann.fwe_tissue(dwis2s, ftissue, None)
def testCorrectFromTissueVolumeFraction(self): dann = Dry() dann.fwe_tissue(dwis2s[0], ftissue, bval2s, testingdir) self.assertTrue(os.path.isfile(os.path.join(testingdir, "merged1/fwe_dwi.nii.gz")))
def testCorrectFromFEmptyFtissue(self): dann = Dry() with self.assertRaises(ValueError): dann.fwe_tissue(dwis2s, None, bval2s)