Skip to content

Missing import for PinillaRamosEtAl2023 and PinillaRamosEtAl2024 models in __init__.py #63

@m22x71

Description

@m22x71

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions