Skip to content

Draft: Add ProjectData Python wrapper for Parameter access

joergbuchwald requested to merge joergbuchwald/ogs:parameterinterface into master

This MR allows for accessing parameters in project files from Python.

Had some issues after a rebase, I guess !4521 (merged) breaks it. I get the following error when I load the module:

In [1]: import api as ogsapi
terminate called after throwing an instance of 'std::runtime_error'
  what():  Can't add new modules after the interpreter has been initialized
[1]    145977 IOT instruction (core dumped)  ipython3

Perhaps you could take a look. Thx!

  1. Feature description was added to the changelog
  2. Tests covering your feature were added?
  3. Any new feature or behavior change was documented?
Edited by Dmitry Yu. Naumov

Merge request reports