diff --git a/fsl/data/featanalysis.py b/fsl/data/featanalysis.py index 93dba289633ad11e8bef434d82671dccf97851eb..94c776894c134aa53380aeb482d5815ce4e38002 100644 --- a/fsl/data/featanalysis.py +++ b/fsl/data/featanalysis.py @@ -430,6 +430,7 @@ def loadClusterResults(featdir, settings, contrast, ftest=False): # F-test cluster results will not have # COPE-* results + if not hasattr(self, 'copemax'): self.copemax = np.nan if not hasattr(self, 'copemaxx'): self.copemaxx = np.nan if not hasattr(self, 'copemaxy'): self.copemaxy = np.nan if not hasattr(self, 'copemaxz'): self.copemaxz = np.nan