Closed dkp closed 5 years ago
Hi @dkp,
The issue here is that the FSL command eddy_openmp
yields a non-zero return code (typically indicative of an error) when printing its help page. I request the help page of that particular command in order to determine whether or not certain command-line options are available, which is itself necessary in case the Python script mrtrix3_connectome.py
is used outside of the container environment (in which case there are no guarantees as to whether or not the user has an up-to-date version of eddy
). In turn, the MRtrix3 Python libraries that I'm utilising here yield a warning whenever a command produces a non-zero return code, even if instructed to continue processing despite such an error. Hence the warning you see there.
The only way I can resolve this erroneous warning is via substantial changes to the MRtrix3 Python libraries, which will take some time to get merged into MRtrix3 before I can update this App accordingly.
Rob
thanks very much for the feedback! I won’t worry about it. -Dianne
On Wed, Dec 5, 2018 at 3:32 PM Robert Smith notifications@github.com wrote:
Hi @dkp https://github.com/dkp,
The issue here is that the FSL command eddy_openmp yields a non-zero return code (typically indicative of an error) when printing its help page. I request the help page of that particular command in order to determine whether or not certain command-line options are available https://github.com/BIDS-Apps/MRtrix3_connectome/blob/master/mrtrix3_connectome.py#L364-L372, which is itself necessary in case the Python script mrtrix3_connectome.py is used outside of the container environment (in which case there are no guarantees as to whether or not the user has an up-to-date version of eddy). In turn, the MRtrix3 Python libraries that I'm utilising here yield a warning whenever a command produces a non-zero return code, even if instructed to continue processing despite such an error. Hence the warning you see there.
The only way I can resolve this erroneous warning is via substantial changes to the MRtrix3 Python libraries https://github.com/MRtrix3/mrtrix3/pull/1449, which will take some time to get merged into MRtrix3 before I can update this App accordingly.
Rob
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BIDS-Apps/MRtrix3_connectome/issues/36#issuecomment-444677065, or mute the thread https://github.com/notifications/unsubscribe-auth/AA66QP6OaFaPpZJTqq3Ko-T9xVoA3B5oks5u2ElggaJpZM4Y4Ouk .
-- Dianne Patterson, Ph.D. Research Scientist dkp@email.arizona.edu dkp@u.arizona.edu or diannepat@gmail.com University of Arizona Speech and Hearing Science 314 1131 E 2nd Street, Building #71 (Just East of Harvill)
If you don't hear back from me (and you expected to), I blame the University's new SPAM filter. Please write to my gmail account.
Antipiphany: That moment when you realize how little you actually know
I downloaded from dockerhub. I now see that the last build on dockerhub was a year ago...and probably accounts for this issue. the docker run complains about a call to eddy_openmp --help (see bolding below):
Command: eddy_openmp --help mrtrix3_connectome.py: [WARNING] Command failed: eddy_openmp --help