Different EDEN prefix for dependencies
Jammy2211 opened this issue · comments
James Nightingale commented
I am now trying to edenise PyAutoGalaxy
, which has autoarray and autofit as dependencies.
The problem is that these projects use the VIS_CTI
prefix, whereas AutoGalaxy uses a new prefix, SHE_SLModel
.
When I convert a module in PyAutoGalaxy, for example galaxy.py
the imports convert as follows:
from autoarray.inversion.pixelizations.abstract import AbstractPixelization
from autoarray.inversion.regularization.abstract import AbstractRegularization
from SHE_SLModel_Autoarray.SHE_SLModel_Inversion.SHE_SLModel_Pixelizations.abstract import (
AbstractPixelization,
)
from SHE_SLModel_Autoarray.SHE_SLModel_Inversion.SHE_SLModel_Regularization.abstract import (
AbstractRegularization,
)
This dependency shuold retain its VIS_CTI
prefix. This occurs for all imports that are from these parent projects.
The eden.ini
file of these projects has the information necessary to perform the conversions correctly, for example:
[eden]
name=autoarray
prefix=aa
eden_prefix=VIS_CTI