-
Notifications
You must be signed in to change notification settings - Fork 191
Docker: No third-party software embedding #3073
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
Draft
Lestropie
wants to merge
3
commits into
dev
Choose a base branch
from
containers_no_thirdparty
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With this change, "the MRtrix3 Docker container" will no longer embed within it third-party neuroimaging software commands. Any attempt to run an MRtrix3 script that depends on one of these tools will fail with a suitable error message.
Member
Author
|
I have created the new repository and the first working version of the standalone container with alternative minification encoding: https://github.com/MRtrix3/mrtrix3-with3p/commits/dev/ |
Lestropie
added a commit
that referenced
this pull request
Mar 12, 2025
- Fix progress bar for when FSL FAST is not used for the cerebellum, and the FreeSurfer segmentations of the cerebellar hemispheres are propagated to the 5TT image. - New option -freesurfer_lut, for manually specifying the location of the FreeSurfer lookup table file; this permits utilisation of the script without environment variable FREESURFER_HOME being set, or indeed even the FreeSurfer software being present (related to #3073). - Add missing citations to help page documentation.
Lestropie
added a commit
that referenced
this pull request
Mar 12, 2025
- Fix progress bar for when FSL FAST is not used for the cerebellum, and the FreeSurfer segmentations of the cerebellar hemispheres are propagated to the 5TT image. - New option -freesurfer_lut, for manually specifying the location of the FreeSurfer lookup table file; this permits utilisation of the script without environment variable FREESURFER_HOME being set, or indeed even the FreeSurfer software being present (related to #3073). - Add missing citations to help page documentation.
5 tasks
afe7f5b to
7ac759a
Compare
Conflicts: Dockerfile docs/installation/using_containers.rst python/mrtrix3/app.py
|
clang-tidy review says "All clean, LGTM! 👍" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2601.
Closes #2736.
Working toward desired long-term solution for software containerisation.
The goal here is that "the MRtrix3 container" will not contain any third-party neuroimaging software tools. What will therefore happen following this PR, if one executes within this container an MRtrix3 Python command that attempts to execute such a third-party command, that MRtrix3 command will error out, with a suitable error message explaining the situation.
In conjunction with this, I aim to create a new repository within the MRtrix3 organisation, which provides the requisite data to construct a container that encapsulates both MRtrix3 and the set of third-party neuroimaging software commands that may be invoked by MRtrix3 Python commands. However that container will be explicitly labelled as having additional contents over and above just MRtrix3 (ideas for suitable naming welcome; "MRtrix3 and friends"? 🙃).
Make corresponding changes to
SingularityI've been having trouble doing Apptainer builds for some reason, so haven't finished the requisite work there.
Create new page in documentation explaining the dependence of some MRtrix3 commands on third-party tools, why those are unavailable in the official "core" "exclusively MRtrix3" container, and what options are available to users
Create new repository for container that includes third-party commands
(I already have some progress on this)