cpp-lln-lab / bidspm

an SPM centric BIDS app
https://bidspm.readthedocs.io/en/latest/general_information.html
GNU General Public License v3.0
5 stars 13 forks source link

fix create ROI worfklow in octave #1283

Closed Remi-Gau closed 1 month ago

Remi-Gau commented 1 month ago

See https://github.com/cpp-lln-lab/bidspm/blob/4659cd6956b85950a66607dc50e59ff9938b9604/tests/tests_slow/tests_cli/test_bidspm_create_roi.m#L17

if: undefined value used in conditional expression
 Error  occurred:
        - Error in validate_arg
                line 533 in /usr/share/octave/6.4.0/m/miscellaneous/inputParser.m
        - Error in parse
                line 404 in /usr/share/octave/6.4.0/m/miscellaneous/inputParser.m
        - Error in extractRoiFromAtlas
                line 46 in /home/remi/github/cpp-lln-lab/bidspm/lib/CPP_ROI/src/atlas/extractRoiFromAtlas.m
        - Error in bidsCreateROI
                line 47 in /home/remi/github/cpp-lln-lab/bidspm/src/workflows/roi/bidsCreateROI.m
        - Error in cliCreateRoi
                line 31 in /home/remi/github/cpp-lln-lab/bidspm/src/cli/cliCreateRoi.m
        - Error in bidspm>executeAction
                line 74 in /home/remi/github/cpp-lln-lab/bidspm/bidspm.m
        - Error in bidspm
                line 26 in /home/remi/github/cpp-lln-lab/bidspm/bidspm.m
Remi-Gau commented 1 month ago

also when used with the python CLI, it just dumps its output in the current directory no matter what output was given.