It has been discussed among us, that there is some amount of dead code in the m/ folder of ZI. To improve code maintainability, we should probably move the core functionality related to ZI to the new core package. This includes the segmentation import routines, mesh generation and lead fields of different modalities.
The function utilities.copy_dependencies_to_folder might be used to aid in this process. It recursively locates the file dependencies of a given file, and copies them to a target folder.
Context
Name
Value
Version
30bd3340 Merge pull request #248 from sampsapursiainen/reorganize-folders-2023-08-18
Description
It has been discussed among us, that there is some amount of dead code in the
m/
folder of ZI. To improve code maintainability, we should probably move the core functionality related to ZI to the newcore
package. This includes the segmentation import routines, mesh generation and lead fields of different modalities.The function
utilities.copy_dependencies_to_folder
might be used to aid in this process. It recursively locates the file dependencies of a given file, and copies them to a target folder.Context