help > RE: Pre/Post Conditions Issue
Feb 1, 2016  07:02 PM | Alfonso Nieto-Castanon - Boston University
RE: Pre/Post Conditions Issue
Hi Jennifer,

Please see this post (https://www.nitrc.org/forum/message.php?...) for specific instructions on how to specify the onset/duration values in Setup.Conditions for a pre post design. After doing this simply re-run the Setup/Denoising/First-level steps to propagate that specification up to the second-level analyses. 

Hope this helps
Alfonso
Originally posted by Jennifer Robinson:
I have been trying to run a pre/post analysis at the second level - however, I get the following error:
ERROR DESCRIPTION:
Attempted to access CONN_h.menus.m_results.shownconditions(0); index must be a positive integer or logical.
Error in conn (line 4493)
nconditions=CONN_h.menus.m_results.shownconditions(nconditions);
Error in conn_menumanager (line 109)
feval(CONN_MM.MENU{n0}.callback{n1}{1},CONN_MM.MENU{n0}.callback{n1}{2:end});

It seems as though conn doesn't like the way I have my conditions.  Basically, I have two conditions, pre and post.  I uploaded two sessions for each individual.  For the 'pre' condition, I set session 1 for a start of 0 and duration of 'inf'.  For the post condition (which corresponds to session 2), I tried two things: 1) I tried leaving the values for session 2 as they were (so basically square brackets for both the start and duration); this yielded the error, so I went back and changed the 2) start time to 0, and duration to 0. This also gave me the same error.  

In the second-level results tab, no condition shows up, and that's where the error message pops up.

Any thoughts on how to resolve this?

Thanks so much!

Threaded View

TitleAuthorDate
jrobinson Feb 1, 2016
RE: Pre/Post Conditions Issue
Alfonso Nieto-Castanon Feb 1, 2016
jrobinson Feb 1, 2016