Skip to content

[prfanalyze-vista] Unrecognized variable name 'stimulus_diameter'. #97

Description

@Gilles86

Hey guys,

I'm trying some packages to fit synthesized data from prfsynth.

I created data using

docker run --rm -it \
    --platform linux/amd64 \
    -v "$script_dir/$json_file:/flywheel/v0/input/config.json" \
    -v "$basedir:/flywheel/v0/output" \
    garikoitz/prfsynth

With the json-file basically the default-config of prfsynth.

I then get the following error when I try to fit:

./fit_mrvista.sh verysmall
Running with identifier: verysmall
Using config file: /home/ubuntu/git/paper_braincoder/prfsynth/fit/mrvista/configs/prfanalyze-vista-verysmall.json
WARNING: Using temporary output directory: /flywheel/v0/output/BIDS/derivatives/prfanalyze-vista_temp001
[base/run.py] Using real data, not coming from prfsynthesize.
[base/run.py] This is the temp file with stim info:
/tmp/tmpzu447l.json
[base/run.py] This is the content:
{u'fieldofviewHorz': 20, 'isPRFSynthData': False}
------------------------------------------
Setting up environment variables
---
LD_LIBRARY_PATH is .:/opt/mcr/v95//runtime/glnxa64:/opt/mcr/v95//bin/glnxa64:/opt/mcr/v95//sys/os/glnxa64:/opt/mcr/v95//sys/opengl/lib/glnxa64
This is the config.json file being read: /running/out/options.json
These are the contents of the json file:

tmp =

  struct with fields:

               keepAllPoints: 0
              coarseDecimate: 2
          prfprepareAnalysis: '01'
    numberStimulusGridPoints: 50
                     detrend: 1
                     wsearch: 'coarse to fine'
                        grid: 0
                       model: 'one gaussian'
                         hrf: {0x1 cell}

================================================================================
/flywheel/v0/input/BIDS/sub-verysmall/ses-1/func/sub-verysmall_ses-1_task-prf_acq-normal_run-01_bold.nii.gz
/tmp/tmpzu447l.json
/flywheel/v0/input/BIDS/stimuli/sub-verysmall_ses-1_task-prf_apertures.nii.gz
/running/out/options.json
--------------------------------------------------------------------------------
This is the options file comming in:

allOptions =

  struct with fields:

    vista: [1x1 struct]
     aprf: [1x1 struct]
     afni: [1x1 struct]
      mlr: [1x1 struct]

Error using pmModelFit (line 128)
Unrecognized variable name 'stimulus_diameter'.

Error in prfanalyze_vista (line 96)

MATLAB:table:UnrecognizedVarName

real    0m15.149s
user    0m12.074s
sys     0m2.320s
<ERROR>      An error occurred during execution of the Matlab executable. Exiting!

Note that prfsynth/aprf, prfsynth/popeye, prfsynth/afni can all fit this data out-of-the-box.

Cheers,
Gilles

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions