removes collections argument from Analysis init; fixes
@@ -19,10 +19,6 @@ class Analysis(object):
model (str or dict): a BIDS model specification. Can either be a
string giving the path of the JSON model spec, or an already-loaded
dict containing the model info.
- collections (dict): An optional dictionary containing all variable
- collections to use. Keys are level names ('run', 'session', etc.);
- values are lists of BIDSVariableCollections. If None, collections
- will be read from the current layout.
sampling_rate (int): Optional sampling rate (in Hz) to use when
resampling variables internally. If None, the package-wide default
will be used.
@@ -31,11 +27,9 @@ class Analysis(object):
available.
'''
- def __init__(self, layout, model, collections=None, sampling_rate=None,
- scan_length=None):
+ def __init__(self, layout, model, sampling_rate=None, scan_length=None):
self.sampling_rate = sampling_rate
- self.collections = collections
self.scan_length = scan_length
if not isinstance(layout, BIDSLayout):
