muscbridge / PyDesigner

A hands-free DTI, DKI, FBI and FBWM preprocessing pipeline. Information on algorithms and preprocessing steps are available at https://www.biorxiv.org/content/10.1101/2021.10.20.465189v1 A video tutorial on PyDesigner and its usage is now available at https://www.youtube.com/watch?v=mChQFuQqX3k
https://pydesigner.readthedocs.io/en/latest/
Other
23 stars 7 forks source link

Error #277

Closed override641 closed 2 years ago

override641 commented 2 years ago

Describe the Issue

when running pydesigner -s and i use separete b0 image and then multishell B0,1000,2000 image, I always get the following error

Plotting motion... Traceback (most recent call last): File "/usr/local/bin/pydesigner", line 10, in sys.exit(main()) File "/usr/local/lib/python3.7/dist-packages/designer/pydesigner.py", line 666, in main voxel=mrinfoutil.spacing(working_path)) File "/usr/local/lib/python3.7/dist-packages/designer/plotting/motionplot.py", line 33, in plot raise OSError('Input file {} does not exist'.format(input)) OSError: Input file /data/processed/metrics_qc/eddy/eddy_restricted_movement_rms does not exist

Issue Reproduction run the pydesigner -s with separate b0 and b0,1000 and b2000

Supplemental Information

MacOS, pydesigner 1.0 RC11

Thank you

TheJaeger commented 2 years ago

Hi, what was the full command you parsed?

override641 commented 2 years ago

Hi!

pydesigner -s —verbose DWI0.nii,DWI1.nii

while DWI0 is b0 image and DWI1 is b0,1000,2000 if I run it with the DWI1, it runs ok.

THank you Ivo

On Dec 21, 2021, at 6:50 PM, Siddhartha Dhiman @. @.>> wrote:

Hi, what was the full command you parsed?

— Reply to this email directly, view it on GitHub https://github.com/m-ama/PyDesigner/issues/277#issuecomment-999170765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWY7QKZ3OLIPZ6Z23S63QJ3USEHCXANCNFSM5KPBFMVA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

TheJaeger commented 2 years ago

PyDesigner is looking for the file /data/processed/metrics_qc/eddy/eddy_restricted_movement_rms to plot head motion, which is produced during topup/eddy current correction. I'd check intermediate_files folder to ensure this correction ran properly, as well as the PyDesigner log while this correction was running. Something could have silently failed along the way.

Otherwise you can parse the --no_qc flag to disable plots and bypass the error.