Cyril Pernet

Results 164 comments of Cyril Pernet

I would need to see the call, but see https://github.com/CPernet/spmup/blob/master/bids/spmup_BIDS_1rstlevel.m#L77 this call is if the task is rest, and the example is not rest -- not sure who this ended...

why did it not generate /home/remi/github/spmup/system_test/demos/raw/derivatives/sub-01/func/run1/rst_sub-01_task-facerepetition_rec-despiked_bold.nii? I did not try your script but ran the pipeline on [ds0117](https://openneuro.org/datasets/ds000117/versions/1.0.4) all the way with no error

````matlab Reference to non-existent field 'anat_qa'. ```` because no anat processed? this can be the case a dataset has no anat (rare but possible) we just need to add a...

your code ``` matlab [~,sub_names] = fileparts(subjects{s}.func{session,:}); ``` my code I have ``` matlab [~,sub_names] = fileparts(subjects{s}.func(session,:)); ``` I don't think your branch is up to date ?? see the...

probably a change between 2018 and 2020+; I propose a ```matlab try [~,sub_names] = fileparts(subjects{s}.func(session,:)) catch for f=length(subjects{s}.func{session,:}):-1:1 [~,sub_names{f}] = fileparts(subjects{s}.func{session,f})) end end ```

good you have an old matlab :-) or maybe not

we need to fix this [line](https://github.com/CPernet/spmup/blob/master/bids/run_spmup_bids.m#L120) maybe adding something about having a .nii [here](https://github.com/CPernet/spmup/blob/master/bids/run_spmup_bids.m#L120) if empty then loop and as you loop if .nii then do x? (I don't understand...

I'm not saying all this is not useful, but really would that not be easier to focus on matlab 2020 and up rather than working on fixing issues for 5%...

crap - just leave standard colormap for now (will use others later) thx

should we/you 1dt focus on matlab 2020+ so there is not much code change