AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
March 30, 2019 01:43PM
It looks like you might only have ten total subbricks in that dset, looking at the error message:
** ERROR: selector index 10 is out of range 0..9

AFNI, as many programming languages like C and Python do, counts starting from 0. So, for a ten item list, you can use indices 0, 1, 2, 3, ..., 9.

If you type:
3dinfo -nv DSET
that will tell you how many volumes in your DSET.

If you type:
3dinfo -nvi DSET
that will tell you what the *maximum index* of your dset is-- which should be N-1, for an N volume dset.

-pt
Subject Author Posted

AFNI proc py bad sub-brick selector

Junyeon March 30, 2019 01:32PM

Re: AFNI proc py bad sub-brick selector

ptaylor March 30, 2019 01:43PM

Re: AFNI proc py bad sub-brick selector

Junyeon March 30, 2019 03:58PM

Re: AFNI proc py bad sub-brick selector

rick reynolds March 30, 2019 09:56PM

Re: AFNI proc py bad sub-brick selector

Junyeon March 31, 2019 10:07AM

Re: AFNI proc py bad sub-brick selector

rick reynolds April 01, 2019 02:08PM

Re: AFNI proc py bad sub-brick selector

Junyeon April 03, 2019 10:57AM