Closed HertanuAndreea closed 2 weeks ago
Hi Andreea, Thanks for reaching out.
A minor issue would be that the bval and bvec files are also required as inputs either through the -fslbvec and -fslbval arguments, either as .mif along with the diffusion volumes, contrary to what is written in the documentation (this is also true for the Gibbs correction). If I don’t input them, than I receive the error in error_1.png
In order to input DWIs without using the -fslbvec/-fslbval args, two conditions need to be met. 1) the image volume must be in .nii or .nii.gz format. 2) The corresponding .bvec and .bval files must have an identical file names and be located in the same directory as the DWIs.
The path toward the phase is not updated from the input user path. By default, when denoising starts, the phase is searched in the temporary folder, but the phase cannot be copied, so it sends out an error with ‘file not found’, see error_2.png
This is a bug that has been fixed in the most recent version of the designer code. You should be able to pull the most recent version from GitHub and get the phase correction working properly. Alternatively you can pull the docker image here: docker pull nyudiffusionmri/designer2:main
.
Please let us know if you continue to have issues or recommended changes you would like to see implemented.
Regards, Ben
Hi Ben,
Thank you very much for your answer.
Yes, indeed I was using a .nii volume and the .bvec and .bal files were in the same folder.
I pulled the docker image as you advised, and tried to launch denoising by following the documentation of designer. Unfortunately, I ran into a new issue. I tried both the 'main' and the 'latest' tags, and I get the same error from below:
I am not very used to docker. Do you think this is a local issue on my side? Am I missing something? Let me know if you have any advice or if you ran into a similar issue.
Thank you. Regards, Andreea
Hi Andreea,
It looks like the issue is with the path to your files. Your folder is mounted to the container, so you would refer to dwi.mif like this: /data/dwi.mif
Please let me know if you encounter any other issues. Thank you.
Best, Jenny
Hello Jenny,
Oh, I see now what I was doing wrong... I understand a bit better now how docker is working. Thank you both for your help and your quick answer! :)
Best, Andreea
Hello,
Thank you so much for sharing this package, it is extremely useful. I successfully used it for Gibbs correction on partial FT data and to estimate DTI/DKI metrics. Concerning the complex MP-PCA denoising I ran into some issues:
A minor issue would be that the bval and bvec files are also required as inputs either through the -fslbvec and -fslbval arguments, either as .mif along with the diffusion volumes, contrary to what is written in the documentation (this is also true for the Gibbs correction). If I don’t input them, than I receive the error in error_1.png![error_1](https://github.com/NYU-DiffusionMRI/DESIGNER-v2/assets/51444198/b514975b-1bdf-4982-825f-20b252ddf476)
The path toward the phase is not updated from the input user path. By default, when denoising starts, the phase is searched in the temporary folder, but the phase cannot be copied, so it sends out an error with ‘file not found’, see error_2.png![error_2](https://github.com/NYU-DiffusionMRI/DESIGNER-v2/assets/51444198/db478661-1cc9-4318-a426-5a807bea4a2c)
After replacing the phasepath variable at line 137 in designer.py with phasepath = path.from_user(app.ARGS.phase, True), it looks like the denoising process is starting, but after a few seconds it ends with the error_3.png I have no clue to what this might be linked. Is this something you already encounter?![error_3](https://github.com/NYU-DiffusionMRI/DESIGNER-v2/assets/51444198/76903388-0c4c-40d6-b420-015b50247778)
I would be very grateful for your help. Thank you, Andreea