diff --git a/fsl/data/featanalysis.py b/fsl/data/featanalysis.py index 246722b576e47abb5acf9de89cc714c952e1d421..7c38eb7773465fa79cc952e4038c38451e7e3b97 100644 --- a/fsl/data/featanalysis.py +++ b/fsl/data/featanalysis.py @@ -385,6 +385,12 @@ def loadClusterResults(featdir, settings, contrast): setattr(self, attrName, val) + # if cluster thresholding was not used, + # the cluster table will not contain + # P valuse. + if not hasattr(self, 'p'): self.p = 1.0 + if not hasattr(self, 'logp'): self.logp = 0.0 + # This dict provides a mapping between # Cluster object attribute names, and # the corresponding column name in the