mixed design ANOVA with spatio-temporal clustering

Hi again,
My apologies, I found the source of the first value error, however now I have this one:

ValueError: bad axis1 argument to swapaxes

which I am quite sure is related to the uneven groups.

Here is the full error message:

n_permutations = 128
print('Clustering.')
T_obs, clusters, cluster_p_values, H0 = clu = \
    spatio_temporal_cluster_test(all_data, connectivity=connectivity, n_jobs=2,
                                 threshold=f_threshold, stat_fun=stat_fun,
                                 n_permutations=n_permutations,
                                 buffer_size=None) # clu is an array of T_obs, clusters, cluster_p_values, H0
## -- End pasted text ?

Clustering.