Assume that only .nii file exists and .bval is missing, then I get following error:
$ source /usr/local/lib/bash_basics/bash_basic_functions.sh
$ separate_b0_and_dwi dMRI_AP.nii.gz
File dMRI_AP.bval does not exist.
/usr/local/lib/bash_basics/bash_basic_functions.sh: \u0159ádek 578: kill: 2449110#: argumenty musí být proces nebo identifikátor úlohy
Assume that only .nii file exists and .bval is missing, then I get following error: