Closed sigveka closed 8 years ago
Regarding module names:
Do we want to force the author of an application to give the python module the same name as the surrogate model _id?
_id
Using the current structure the following is required (according to method loadFromModule in SurrogateModel.py):
loadFromModule
SurrogateModel.py
Surrogate model:
_id = "SuperCFDmodel[A=water]"
And the directory structure:
MoDeNaModels/SuperCFDmodel/__init__.py
Alternatively it would be possible to parse all the modules to locate the appropriate _id before importing the module.
Contains SpherePackFB.exe AND duplicates contaminated history. Rejected.
Regarding module names:
Do we want to force the author of an application to give the python module the same name as the surrogate model
_id
?Using the current structure the following is required (according to method
loadFromModule
inSurrogateModel.py
):Surrogate model:
And the directory structure:
Alternatively it would be possible to parse all the modules to locate the appropriate
_id
before importing the module.