deepali icon indicating copy to clipboard operation
deepali copied to clipboard

Example ffd is not working anymore

Open vasl12 opened this issue 10 months ago • 1 comments

Hi!

import deepali.core.functional as U from .config import join_kwargs_in_sequence These imports are missing in the newest version from the /home/pti/anaconda3/envs/reg10/lib/python3.10/site-packages/deepali/core/__init__.py and as a result the ffd example is not running. :)

Works as soon as these imports are included.

vasl12 avatar Mar 12 '25 10:03 vasl12

Thank you for raising the issue.

deepali.core indeed doesn't contain these imports in module namespace but it has not been updated for 2 years.

And the FFD example imports these functions itself at these lines: https://github.com/BioMedIA/deepali/blob/ae3e4762a20cbbd0711cc5dd53a7f1aafad49b86/examples/ffd/pairwise.py#L12

Can you check if your FFD example is up-to-date? If the issue persist perhaps you can show me the log of the import error with traceback

qiuhuaqi avatar Apr 30 '25 09:04 qiuhuaqi