-
Notifications
You must be signed in to change notification settings - Fork 191
configure: strip FSL from PATH #2729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Is this still required? I believe that the outcome of our discussion was to inform users how to properly setup FSL using their latest scripts (which shouldn't cause the issue this PR addresses). |
|
I'm pretty sure I discovered that FreeSurfer's |
|
I can confirm that FreeSurfer does add |
|
Ok, it seems that is the case indeed. |
|
I must admit I'm not sure what the right thing to do is here... But given that this should only affect building the software, it's now a much smaller problem than it would have been in the past. For building, I think a warning is the only reasonable thing to do, as long as it provides hints as to where to look, i.e.:
It may be best to provide all this as a wiki and link to that in the warning, to be honest... As for runtime, this can also cause problems as you may end up using a different version of Python from that expected. Can be frustrating when adding missing modules, or upgrading your system-wide version of Python, etc results in exactly the same problematic outcome when running one of our scripts... |
|
@MRtrix3/mrtrix3-devs We discussed this on Wednesday with @bjeurissen and @Lestropie and while I think providing a warning would be preferable, I'm happy for this to go ahead as this is only relevant to the old build system and will be discarded in 3.1.0 anyway. |
Lestropie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed; happy to keep with the philosophy of expedite-solution-for-most-users with the old build system.
Recent versions of FSL seem to ship with a full working miniconda environment, including a compiler and associated tools, and the full Qt SDK. This will cause all kinds of conflicts at the configure stage. This commit detects and mention of 'fsl' in any component and the PATH and strips it out, using the same approach as for anaconda.
This has led to problems reported on the forum, e.g.:
https://community.mrtrix.org/t/a-problem-of-dwifslpreproc/6959?u=jdtournier
https://community.mrtrix.org/t/error-linking-qt-application-centos7/6851?u=jdtournier