Trouble extracting data from a NiMARE Dataset object using slice() method

Hi Taylor,
On another note, when I am trying to initialize a meta analysis object and to fit it to my data, I receive a KeyError ‘sample_size’. I tried creating a kernel object despite the default to ALEKernel like so:

ale = nimare.meta.kernel.ALEKernel()

and then passing it as a key:

meta1 = nimare.meta.cbma.ale.ALE(kernel_transformer = ale, null_model="approximate")

but it did not change anything.

I also tried modifying the kernel object itself by passing different values for the key sample_size:

ale = nimare.meta.kernel.ALEKernel(sample_size = None)

but I am still getting an error.

I am not sure where exactly I should define the sample size. I tried the same code for a bigger dataset, because I assumed four studies might be too little, but the same error showed up.