Closed rachclark closed 6 years ago
My first guess is to check the run_normseedregressors.m
file that was generated by the RestingState scripts. and see if the call to normseedregressors.m
has all the necessary arguments passed into it. Could you paste the contents of run_normseedregressors.m
here? The direct error your seeing is from matlab, but let's see if we can follow the error back.
@tbweng @mwvoss when/where should meanFlag be set in normseedregressors.m?
This is rachel's generated script run_normseedregressors.m and it's missing meanFlag:
% It is matlab script
close all;
clear all;
addpath('/Users/rachclark/git_clones/RestingState');
statsScripts=['/Users/rachclark/git_clones/RestingState','/Octave/statistics'];
addpath(statsScripts);
nuisanceRoiFile=['/Shared/vosslabhpc/Projects/Bike_ATrain/Imaging/BIDS/derivatives/rsOut_legacy/sub-SEH1001/ses-pre/nuisance_rois.txt'];
fid=fopen(nuisanceRoiFile);
roiList_tmp=textscan(fid,'%s');
fclose(fid);
roiList=cell(3,1);
for i=1:3
roiList{i,1}=(roiList_tmp{1,1}(i));
end
featdir='preproc.feat';
includemotion=1;
normseedregressors('/Shared/vosslabhpc/Projects/Bike_ATrain/Imaging/BIDS/derivatives/rsOut_legacy/sub-SEH1001/ses-pre',roiList,featdir,includemotion)
quit;
Sorry! Was running through task switching task to see if errors so didn't see this until now.
Based on the removeNuisanceRegressor.sh script, meanFlag is never set. I see two versions of normseedregressors.m: /vosslabhpc/UniversalSoftware/RestingState2014a/normseedregressors.m /vosslabhpc/UniversalSoftware/RestingState2017a/reproc_2016/normseedregressors.m
The current version in the RestingState repo is from RestingState2017a/reproc_2016. I'm wondering if meanFlag was something added by Matt Sutterer.
Suggest to copy the normseedregressors.m from RestingState2014a into the RestingState repo.
Summary
first error is in normed regressors
Actual behavior
Expected behavior
How to replicate the behavior
Script/Workflow details
Please put URL to code or code here (if not too long).
OUTPUT FILE