-
Notifications
You must be signed in to change notification settings - Fork 97
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
FIX use --transform in freesurfer's template to generalize across freesurfer versions to strip leading freesurfer/
folder
#626
Conversation
could you check newer ones or they aren't out? or may be |
Ah good ol' Yarik always teaches me something new! I switched to 7.3.2$ neurodocker generate docker --base-image ubuntu:20.04 --pkg-manager apt --freesurfer version=7.3.2 > test-dockerfile-7.3.2
$ docker build --file test-dockerfile-7.3.2 . --tag freesurfer-7.3.2
$ docker run --rm -it freesurfer-7.3.2:latest ls /opt/freesurfer-7.3.2 && cat /opt/freesurfer-7.3.2/b
uild-stamp.txt
ASegStatsLUT.txt average matlab
DefectLUT.txt bin mni
FreeSurferColorLUT.txt build-stamp.txt mni-1.4
FreeSurferEnv.csh diffusion models
FreeSurferEnv.sh docs python
SegmentNoLUT.txt etc sessions
SetUpFreeSurfer.csh freesurfer sources.csh
SetUpFreeSurfer.sh fsafd sources.sh
Simple_surface_labels2009.txt fsfast subjects
SubCorticalMassLUT.txt lib tkmeditParcColorsCMA
WMParcStatsLUT.txt luts tktools
$ docker run --rm -it freesurfer-7.3.2:latest cat /opt/freesurfer-7.3.2/build-stamp.txt
freesurfer-linux-centos7_x86_64-7.3.2-20220804-6354275 7.4.1$ neurodocker generate docker --base-image ubuntu:20.04 --pkg-manager apt --freesurfer version=7.4.1 > test-dockerfile-7.4.1
$ docker build --file test-dockerfile-7.4.1 . --tag freesurfer-7.4.1
$ docker run --rm -it freesurfer-7.4.1:latest ls /opt/freesurfer-7.4.1
ASegStatsLUT.txt average matlab
DefectLUT.txt bin mni
FreeSurferColorLUT.txt build-stamp.txt mni-1.4
FreeSurferEnv.csh diffusion models
FreeSurferEnv.sh docs python
SegmentNoLUT.txt etc sessions
SetUpFreeSurfer.csh freesurfer sources.csh
SetUpFreeSurfer.sh fsafd sources.sh
Simple_surface_labels2009.txt fsfast subjects
SubCorticalMassLUT.txt lib tkmeditParcColorsCMA
WMParcStatsLUT.txt luts tktools
$ docker run --rm -it freesurfer-7.4.1:latest cat /opt/freesurfer-7.4.1/build-stamp.txt
freesurfer-linux-centos7_x86_64-7.4.1-20230613-7eb8460 |
That elderly learns something new each day too ;-) I eye balled failing tests and it is still only the two of |
freesurfer/
folder
interestingly, even in 7.3.2 there were some
I assume that when extracting without stripping it worked just fine. So could it be we might have fixed more than planned? do you have still those examples from prior version to see if |
I'm afraid you're correct, the transform now strips too much. Good catch. With $ docker run --rm -it freesurfer-7.3.2-strip:latest ls -la /opt/freesurfer-7.3.2/freesurfer/
total 12
drwxr-xr-x 3 root root 4096 Jul 6 20:17 .
drwxr-xr-x 20 root root 4096 Jul 6 20:17 ..
drwxr-xr-x 3 root root 4096 Jul 6 20:17 lib But with the
However I don't know if those libs are necessary, since we already exclude
|
I would not say "now strips too much" but rather "now strips the correct amount" since without stripping there is no difference between |
we only could have made it more precise may be anchoring like |
I guess we'll have to check if the same problem occurs with new freesurfer versions.
Closes #625