Closed Rageve closed 1 year ago
you are correct in your diagnostic: the bids filter seems to not be working.
let me check
OK I hard coded this here:
It should be reading the value from the BIDS filter file and if no value is found then it should fall back on using preproc.
Should be an easy fix.
Actually @Rageve I think the problem might be somewhere else:
I think if you comment the line I linked to above, it should work for fmriprep dataset like in your case.
I may still need to fix things for datasets preprocessed with bidspm but that is a different story.
Can you check if commenting this line fixes that issue?
Unfortunately, there is another desc flag error (smth6)
No bold file found in:
/server/fo2-17/data/NASAL_2018/DAGen_Bromo/BIDS/Tuebingen/outputs/derivatives/bidspm-preproc
for query
- modality: {func}
- task: {food}
- desc: {smth6}
- space: {MNI152NLin6Asym}
OK the error is different so that I still count that as relative progress... 😛 Just kidding.
OK I need to find a way to make it easier for me to test this.
OK seems that most fmriprep datasets from openneuro contain some aroma data. Should be easier to get those.
Hey Remi,
It's been over a month now and I would like to kindly ask if you have found time to use the smootharoma data as input for the first level analysis (instead of the default smth6 files)?
Hey @Rageve
sorry it took so long and thanks for pushing me on this
I cleared my schedule to work on this today
I am managed to make it work with one of the demos in #1036
The demo would look something like this: https://github.com/cpp-lln-lab/bidspm/blob/91813dc93f00ab91a96135f31fa46eb20a24cc31/demos/openneuro/ds000001_aroma_run.m
And the associated model file that specifies the input file must be "description" "AROMA" looks like this: https://github.com/cpp-lln-lab/bidspm/blob/91813dc93f00ab91a96135f31fa46eb20a24cc31/demos/openneuro/models/model-balloonanalogrisktaskAroma_smdl.json
maybe you can try it from this branch: https://github.com/Remi-Gau/bidspm/tree/fix-filter_desc_aroma
if the tests pass I will merge and we can tackle any other issues after that: there are still some warnings but at least it runs the GLM and computes the contrasts for subject level
Ok the tests pass. So I am closing this for now. Reopen it or open another issue if this does not work. There are still a few things I want to check on this so I will also open separate issues.
Dear Remi,
I am currently doing the first-level analysis with the smoothAROMAnonaggr processed by fmriprep. The copying to the preproc_dir .../outputs/derivatives/bidspm-preproc worked fine. Now I have for each subject and session
and the same for run-2
To select the correct files I created the following structure
path settings:
then I tried to run the code
and later comes the error
Notwithstanding the code produces for each subject an empty folder in bidspm-stats task-food_space-MNI152NLin6Asym_FWHM-6
It seems to me that the code does not accept another desc flag. The .json files contains the following:
Any idea how to run the code?
error_2023-05-31T13-16.zip