Closed vogelbac closed 2 years ago
Hi, can you provide the full command you used, as well as the version of FitLins?
The command: docker run --rm -it -v /home/g0rella/Desktop/SFB:/bids:ro -v /home/g0rella/Desktop/SFB/derivatives/fmriprep:/prep:ro -v /home/g0rella/Desktop/SFB/derivatives:/out poldracklab/fitlins:master /bids /out dataset -d /prep The version is poldracklab/fitlins latest cf57f64375b3
poldracklab/fitlins:master
Can you try using a released version, such as 0.9.2? I don't really recommend using :master
unless you have a specific need for something that's been since the last version, and there's no way to tie old :master
hashes to git commits, so I can't tell what version you're working from.
I am sorry I used the :latest and there raised the error and then i tried the master, to see if it is fixed (newer version) this was my fault.
docker run --rm -it -v /home/g0rella/Desktop/SFB:/bids:ro -v /home/g0rella/Desktop/SFB/derivatives/fmriprep:/prep:ro -v /home/g0rella/Desktop/SFB/derivatives:/out poldracklab/fitlins:latest /bids /out dataset -d /prep
Captured warning (<class 'FutureWarning'>): Fetchers from the nilearn.datasets module will be updated in version 0.9 to return python strings instead of bytes and Pandas dataframes instead of Numpy arrays.
220113-14:49:31,140 nipype.utils WARNING:
A newer version (1.7.0) of nipy/nipype is available. You are using 1.6.1
Traceback (most recent call last):
File "/opt/miniconda-latest/envs/neuro/bin/fitlins", line 8, in
Okay. Could you share a listing (ideally tree
) of /home/g0rella/Desktop/SFB
?
So for the auto-model, it should just give you the beta estimates for each value in the trial_type
column of events.tsv
, per-run (it won't try to combine). If you have any BOLD series that are missing this column (such as a resting state scan), that's likely the cause of the problem.
For sure tree_folder.txt
I see the problem regarding the value trial_type for the resting state if it is not set. But i specify in the model.json file the "task" which should be used so it should not look after the resting state events.tsv files?
I don't see a model file being specified in your command line. You might want --model models/model-001_smdl.json
. We will also automatically pick up models/model-default_smdl.json
.
The usage of the --model helped to solve this problem.
Hey got the problem KeyError: 'trial_type'
I use the docker version latest of fitlins. I tried to update my model file regarding the google docs file. But i still get the error. If you need more just let me know.