Skip to content

Commit

Permalink
return to form
Browse files Browse the repository at this point in the history
  • Loading branch information
dangunter committed Oct 25, 2024
1 parent 879ab20 commit 7a19de5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion idaes/core/base/flowsheet_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ def __init__(self):
self.visualize = self._visualize_null
self.installed = False
else:
import idaes_ui
# FIXME the explicit submodule import is needed because the idaes_ui doesn't import its fv submodule
# otherwise, you get "AttributeError: module 'idaes_ui' has no 'fv' attribute"
import idaes_ui.fv

self.visualize = idaes_ui.fv.visualize
self.installed = True

Expand Down

0 comments on commit 7a19de5

Please sign in to comment.