Currently the function checks if the saved data has a geometry and if so, calls the initialization with model_parameters and geometry:
|
if hasattr(options, "geometry"): |
This errors if the model does not take a geometry.
Two options:
1- Always make LIONmodels take a geometry, even if they don't use it
2- Change this code to check if the model wants a geometry.
Currently the function checks if the saved data has a geometry and if so, calls the initialization with model_parameters and geometry:
LION/LION/models/LIONmodel.py
Line 357 in 94e33f8
This errors if the model does not take a geometry.
Two options:
1- Always make LIONmodels take a geometry, even if they don't use it
2- Change this code to check if the model wants a geometry.