[pymvpa] Chnks length error using bids/pymvpa

Yaroslav O Halchenko yoh at onerussian.com
Fri Jul 26 15:16:51 BST 2019


On Wed, 24 Jul 2019, John Johnson wrote:
> ...
>  #!/bin/bash

>  docker run -i --rm \
>      -v /Users/john/CloudStation/School/Research/fmri/aim1:/data:ro \
>      -v /Users/john/CloudStation/School/Research/fmri/aim1/derivatives/pymvpa:/outputs \
>      bids/pymvpa \

I totally forgot about developed by Sajjad PyMVPA BIDS-app.  I am not
familiar with its functioning so can't immediately come up with the
answer.  Might be a bug within the app itself, and might be worth
filing a bug report at https://github.com/BIDS-Apps/PyMVPA while
providing more information (e.g. nib-ls output on the *nii.gz files in
question etc)

>    File "/usr/lib/python2.7/dist-packages/mvpa2/base/collections.py", line 599, in __setitem__
>      str(self)))
>  ValueError: Collectable 'chnks' with length [2856] does not match the required length [952] of collection '<SampleAttributesCollection: time_coords,time_indices>'.

so it is 3 times more... any factor of 3 coming into mind? (sessions
etc)

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list