Issue:
The PinillaRamosEtAl2023 and PinillaRamosEtAl2024 classes are not accessible as pygmm attributes despite the module files being present in the package.
Root Cause:
The classes are not imported in pygmm/__init__.py, so they don't appear when using dir(pygmm) or pygmm.<ModelName>.
Files affected:
pinilla_ramos_et_al_2023.py ✅ exists, class defined
pinilla_ramos_et_al_2024.py ✅ exists, class defined
__init__.py ❌ missing imports
Fix needed:
Add these lines to pygmm/__init__.py:
# In imports section:
from .pinilla_ramos_et_al_2023 import PinillaRamosEtAl2023
from .pinilla_ramos_et_al_2024 import PinillaRamosEtAl2024
# In __all__ list:
"PinillaRamosEtAl2023",
"PinillaRamosEtAl2024",
# In models list:
PinillaRamosEtAl2023,
PinillaRamosEtAl2024,
Current workaround:
from pygmm.pinilla_ramos_et_al_2023 import PinillaRamosEtAl2023