<div dir="ltr">Apologies - I just realised I forgot to copy reply to list, so am resending an edited version copying the gPPI list:<br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Great thank you for this advice - it worked! I have also subscribed to the list. It now ran through to the end, but at the very end it says the following:<div><br></div><div><div><b>Moving Contrast Images</b></div><div><b>error moving contrast PPI_PPI_contrast1</b></div><div><b>error moving contrast PPI_PPI_contrast1</b></div><div><b>Moving Contrast Images</b></div><div><b>error moving contrast PPI_PPI_contrast2</b></div><div><b>error moving contrast PPI_PPI_contrast2</b></div></div><div><br></div><div>The error lines are not in red though, they are part of the output. I noticed that minor features of the output are different from the readme file, for example after the spm_fmri_spm_ui section the next one is spm_spm rather than spm_spm_WB, and the output in that section starts with Chunk 3/3 rather than initialising parameters. I am guessing these differences might be because I'm using SPM12 but thought I would mention it just in case. </div><div><br></div><div>I then tried looking at the output SPM.mat in the sampledata/stats/<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">PPI_rmedPrec folder and it opens fine, although the comparison file in</span> PPI_rmedPrec_results folder doesn't: when I get to the point of clicking apply masking none in the GUI it throws the following error:</div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><div><b>SPM12: spm_results_ui (v6647) 16:33:16 - 01/03/2018</b></div><div><b>==============================<wbr>==============================<wbr>============</b></div><div><b><span style="white-space:pre-wrap">        </span>SPM computation : ...initialising</b>Error using spm_data_read (line 81)</div><div>Unknown data type.</div><div><br></div><div>Error in spm_getSPM (line 618)</div><div> Z = min(Z,spm_data_read(xCon(i).Vs<wbr>pm,'xyz',XYZ));</div><div><br></div><div>Error in spm_results_ui</div><div> </div><div>Error while evaluating UIControl Callback.</div></div><div><br></div><div><br></div><div>Perhaps this is simply because I am using SPM12 and the prior SPM.mat made in SPM8, in which case maybe the installation was ok? In terms of the actual files in the sampledata/statsfolder versus the PPI_rmedPrec_results folder, they are similar, except that the sampledata version has two fewer contrasts. Thank you so much for your help with this - I really appreciate it.</div><span class="m_-1211172307810660754HOEnZb"><font color="#888888"><div><br></div><div>Sophie</div><div><br></div></font></span></div><div class="m_-1211172307810660754HOEnZb"><div class="m_-1211172307810660754h5"><div class="gmail_extra"><br><div class="gmail_quote">On 1 March 2018 at 03:31, MCLAREN, Donald <span dir="ltr"><<a href="mailto:mclaren.donald@gmail.com" target="_blank">mclaren.donald@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Sophie,<br><br></div>If you go to <a href="http://www.nitrc.org/projects/gppi" target="_blank">http://www.nitrc.org/projects/<wbr>gppi</a>, there is a mailing list specific to the gppi toolbox.<br><br></div>The error seems to be cause by conflicting copies of the "contains" command.<br><br></div><div>Try renaming contains.m in the gPPI directory to old_contains.m<br><br></div><div>If this works, problem solved, if not, I'll have to track down where contains.m is used and rename the function for you.<br></div></div><br></div><div class="gmail_extra"><br clear="all"><div><div class="m_-1211172307810660754m_-2754145407333511555m_-7699807019437069615gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards, </div><div>Donald McLaren, PhD<br><br></div></div></div></div><div><div class="m_-1211172307810660754m_-2754145407333511555h5">
<br><div class="gmail_quote">On Wed, Feb 28, 2018 at 10:35 AM, Sophie Forster <span dir="ltr"><<a href="mailto:sophie.forster@gmail.com" target="_blank">sophie.forster@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I installed gPPI on a mac and have been trying to follow the 'testing the toolbox installation' instructions from the PPPI manual, using SPM 12. I hit an error message(I've copied the output just before to show the point at which it comes):</div><div><br></div><div><div>VOI has 549 voxels in 3x3x3 space. This is in the the same space as the input data and functional mask.</div><div><br></div><div>Operands to the || and && operators must be convertible to logical scalar</div><div>values.</div><div><br></div><div>Error in dlmwrite (line 133)</div><div>useVectorized = realdata && precnIsNumeric && ~contains('%\',dlm) ...</div><div><br></div><div>Error in PPPI (line 861)</div><div> dlmwrite([P.subject '_' region1 '_session' num2str(z) '_' P.method</div><div> '_PPI_regressors.txt'],[OUT.PP<wbr>I.C OUT.P.C OUT.Y.C OUT.C.C],' ');</div><div><br></div><div>Error in runOnSampleData (line 49)</div><div>PPPI(P, ['/Users/Sophie/Downloads/runn<wbr>ing_gPPI_generic' filesep 'sampleData'</div><div>filesep 'stats' filesep 'gPPI_sampleDataTest.mat']);</div><div><br></div><div>Operands to the || and && operators must be convertible to logical scalar</div><div>values.</div><div><br></div><div>Error in rmiml.hasReqDataFile</div><div><br></div><div>Error in rmiml.visibleInToolstrip</div><div> </div><div>Operands to the || and && operators must be convertible to logical scalar</div><div>values.</div><div><br></div><div>Error in rmiml.hasReqDataFile</div><div><br></div><div>Error in rmiml.visibleInToolstrip <br></div></div><div><br></div><div>I can't see anything in the archives about this error so wondered if someone might have an idea what I have done wrong? Apologies if it (as is likely) is something silly - I have run gPPI successfully before but it's been a few years now and clearly I'm rusty. Thanks!</div><span class="m_-1211172307810660754m_-2754145407333511555m_-7699807019437069615HOEnZb"><font color="#888888"><div><br></div><div>Sophie<br style="font-family:Tahoma,sans-serif"><br></div></font></span></div></blockquote></div></div></div></div></blockquote></div></div></div></div></blockquote></div></div></div>