style fix if
@@ -147,7 +147,8 @@ class RDMs:
RDMs object, with subsampled patterns
"""
- if (type(value) is list or
+ if (
+ type(value) is list or
type(value) is tuple or
type(value) is np.ndarray):
desc = self.pattern_descriptors[by]
@@ -203,7 +204,8 @@ class RDMs:
RDMs object, with subsampled RDMs
"""
- if (type(value) is list or
+ if (
+ type(value) is list or
type(value) is tuple or
type(value) is np.ndarray):
selection = [np.asarray(self.rdm_descriptors[by] == i).nonzero()[0]
