You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is awesome! But I've hit a wall with running the notebook. The Dakota run launched by the shell script (ln 9) is failing for me. A little poking reveals this is a problem with the driver, as the Dakota .log records:
Traceback (most recent call last):
File "driver.py", line 84, in <module>
h = Heat()
TypeError: Can't instantiate abstract class BmiHeat with abstract methods get_grid_face_edges, get_input_item_count, get_output_item_count
Error: cannot open results file "MULTIDIM_PARAM/run.1/results.out" for evaluation 1
This is apparently an issue in the driver code. I checked I can import BmiHeat itself just fine, but if I try h = heat() as at line 84, I get that same TypeError Dakota is reporting:
In [2]: from heat import BmiHeat as heat
In [3]: h = heat()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-b4884c508061> in <module>
----> 1 h = heat()
TypeError: Can't instantiate abstract class BmiHeat with abstract methods get_grid_face_edges, get_input_item_count, get_output_item_count
I'm in the conda env created from environment_everything_but_dakota.yml, so should not be a local versioning issue.
I've never seen python complain about abstract methods before, so struggling to diagnose.
The text was updated successfully, but these errors were encountered:
...having played with this for 10 more mins, I suspect that upstream changes in bumpy have broken the code. i.e., more implemented classes are now required (SO MANY!) I can fix this myself I think...
Hi Katy,
This is awesome! But I've hit a wall with running the notebook. The Dakota run launched by the shell script (ln 9) is failing for me. A little poking reveals this is a problem with the driver, as the Dakota .log records:
This is apparently an issue in the driver code. I checked I can import
BmiHeat
itself just fine, but if I tryh = heat()
as at line 84, I get that same TypeError Dakota is reporting:I'm in the conda env created from
environment_everything_but_dakota.yml
, so should not be a local versioning issue.I've never seen python complain about abstract methods before, so struggling to diagnose.
The text was updated successfully, but these errors were encountered: