fixed indentation problems
@@ -694,7 +694,7 @@ class SignalExtraction(SimpleInterface):
else:
masks = mask_imgs[0].get_data()
uniquevals = np.unique(masks)
- n_masks = len(uniquevals[uniquevals > 0])
+ n_masks = len(uniquevals[uniquevals != 0])
multi_index_mask = True
if len(masks) != len(self.inputs.class_labels):
