Beispiel #1
0
 def testCorrectFromFEmptyBfile(self):
     dann = Dry()
     with self.assertRaises(ValueError):
         dann.fwe_tissue(dwis2s, ftissue, None)
Beispiel #2
0
 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")))
Beispiel #3
0
 def testCorrectFromFEmptyFtissue(self):
     dann = Dry()
     with self.assertRaises(ValueError):
         dann.fwe_tissue(dwis2s, None, bval2s)