cpp-lln-lab / CPP_ROI

Set of Octave and Matlab functions, demos and scripts to help manage ROIs and to play nice with BIDS datasets. Mostly volume-based and SPM centric.
https://cpp-roi.readthedocs.io/en/latest/index.html
GNU General Public License v3.0
5 stars 6 forks source link

[BUG] Parallel toolbox + `bidspm` initialization messing up #124

Open marcobarilari opened 5 months ago

marcobarilari commented 5 months ago

Is there an existing issue for this?

Expected Behavior

No response

Current Behavior

Copied from cpp-lln-lab/bidspm#1225:

Hi there, yes this indeed fixed the problem. However, a similar one happens when CPP-ROI copies the atlases.

Here though is quite strange, it only happens if I run the script from terminal matlab call, while if I run the code (copy pasted) in the same terminal matlab session it work perfectly.

in the file attached what is printed in the terminal/matlab command window

I see that this is a specifc problem that I might be the only one having so no need to rush or find a solution if you think it might requires too much debugging.

A workaround could be to let CPP ROI checking if the atlases are already there and skip copying in case.

Error message

20240419_error_command_window_parallelpool_atalases_installation.txt

Environment

- OS: Linux
- Matlab: 
- SPM:

Branch

- branch: main
- commit: 06727ee

Anything else?

No response