Skip to content

Commit

Permalink
reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
dangunter committed Nov 14, 2024
1 parent e3dee86 commit ca89428
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 ca89428

Please sign in to comment.