-
Notifications
You must be signed in to change notification settings - Fork 89
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhysIO on Octave #251
Comments
Dear Stepan, Thank you for trying out PhysIO. Unfortunately, we have never tested compatibility with Octave explicitly. I presume there might be some missing functions from Matlab Toolboxes (signal processing etc.), but your error seems to be more generic. In general, there are several ways forward here - depending on whether full compatibility with Octave or just running PhysIO without Matlab is your goal.
All the best, |
Thank you, Lars. I would like to ask you one more question. When I run bids_ppu3t_matlab_script.m script (on Mstlsb) which does not require spm, then I get this error Error: File: tapas_physio_read_physlogfiles_bids.m Line: 501 Column: 1 Error in tapas_physio_read_physlogfiles (line 64) Error in tapas_physio_main_create_regressors (line 135) Error in bids_ppu3t_matlab_script (line 64) Error in run (line 91) I have not found the cause of this error. Do you have suggestions? |
Dear Stepan, which version of PhysIO are you using ( Maybe you can also attach the version of the file ( All the best, |
Hi experts,
I faced a problem using PhysIO tollbox on Octave. I have BIDS tsv physio files and i want to run them in PhysIO. I managed to open SPM in Octave and add Physio toolbox. So first of all, I tried to run spm_job.m file
but I got this error
20-Nov-2023 16:24:21 - Running job #1
20-Nov-2023 16:24:21 - Running 'TAPAS PhysIO Toolbox'
20-Nov-2023 16:24:21 - Failed 'TAPAS PhysIO Toolbox'
'fields' undefined near line 99, column 32
In file "/zi/home/stepan.tikhomirov/Documents/Tapas physio/tapas-master/PhysIO/code/utils/tapas_physio_update_from_job.m" (???), function "tapas_physio_update_from_job" at line 99.
In file "/zi/home/stepan.tikhomirov/Documents/Tapas physio/tapas-master/PhysIO/code/utils/tapas_physio_job2physio.m" (???), function "tapas_physio_job2physio" at line 34.
In file "/zi/home/stepan.tikhomirov/Documents/Tapas physio/tapas-master/PhysIO/code/tapas_physio_cfg_matlabbatch.m" (???), function "tapas_physio_cfg_matlabbatch>run_physio" at line 1659.
The following modules did not run:
Failed: TAPAS PhysIO Toolbox
fatal: caught signal Segmentation fault -- stopping myself...
/zi/apps/common/bin/sci/octave/7.3.0/bin/octave: line 3: 2137705 Segmentation fault (core dumped) singularity exec /zi/apps/common/container/sci/octave/octave_7.3.0.sif octave "$@"
"""
And I don' really understand the cause of this error. The problem is in undefined "fields" in tapas_physio_update_from_job function, though everything worked properly in Matlab.
After that I decided to run bids_ppu3t_matlab_script.m file. When I run it I get
"""
tapas_physio_main_create_regressors at line 58 column 15
bids_ppu3t_matlab_script at line 64 column 8
run at line 78 column 7
"""
That is actually the problem
"if isdeployed || ismcc
tapas_physio_splash();
pause(2); % wait to read
end
"
I tried to remove this part of the script, but faced another issue then.
So, do you know how to run .m files using physio Toolbox on Octave? Is physIO compatible with Octave?
Thank you in advance,
Stepan.
The text was updated successfully, but these errors were encountered: