Skip to content
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

antsApplyTransforms error in 03_preproc_func part #37

Open
zhiliHAN opened this issue Feb 9, 2023 · 4 comments
Open

antsApplyTransforms error in 03_preproc_func part #37

zhiliHAN opened this issue Feb 9, 2023 · 4 comments

Comments

@zhiliHAN
Copy link

zhiliHAN commented Feb 9, 2023

WARNING message

230209-11:56:53,552 nipype.interface INFO:
stderr 2023-02-09T11:56:53.551912:WARNING: In /usr/include/ITK-4.10/itkTransformFactoryBase.h, line 81
230209-11:56:53,554 nipype.interface INFO:
stderr 2023-02-09T11:56:53.551912:TransformFactoryBase (0x56294b0c0d70): Refusing to register transform "MatrixOffsetTransformBase_float_3_3" again!
Screenshot from 2023-02-09 20-12-19
Screenshot from 2023-02-09 20-13-48

finnally, cuasing the working browser to crash.

Platform details:

running in fmriflows docker,
computer: ubuntu 22.04 LTS

Execution environment

computer: ubuntu 22.04 LTS

Choose one

  • Container [miykael/fmriflows]
  • My python environment inside container [Python 3.9.5 ]
  • My python environment outside container [Python 3.9.13]
@miykael
Copy link
Owner

miykael commented Feb 13, 2023

Thank you @zhiliHAN for this pointer. It's true, the ANTS version inside the docker container is from 2017 and the container itself was finalized in 2019. Updating all packages and dependencies to Python 3.9 and ubuntu 22.04 unfortunately isn't necessairly straightforward - especially as some Python packages fmriflows uses changed dramatically (e.g. pybids and nistats).

At this point in time, I unfortunately don't have the time to investigate this further or upgrade the packages to newest package versions. But if you're interested then you could give it a try here: https://github.com/miykael/fmriflows/blob/master/generate.sh

Once the file is updated, you can just run bash generate.sh to get the new Dockerfile and follow this with sudo docker build -t fmriflows . to create the container. And once all of this is built, using docker run -it --rm fmriflows python /home/neuro/test_notebooks.py can be run to test if the test notebooks are still passing.

@zhiliHAN
Copy link
Author

Thanks for your reply, I will try as you suggest.

Actually, your project help me a lot for studying fMRI data analysis. Appreciate it.

@miykael
Copy link
Owner

miykael commented Feb 13, 2023

Thanks for the nice feedback! I'm happy that it helps and it's unfortunate that I can't help you more with this issue, but it's a very quickly changing/advancing field - which is great as it provides new tools but also difficult because things quickly become obsolete or different. Good luck!

@zhiliHAN
Copy link
Author

It is true and that's why your work really matters, help our rookies to begin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants