From ce3458bf6224e17d1ccde48e6f3450d3ccb4d7d0 Mon Sep 17 00:00:00 2001 From: Dan Gunter Date: Thu, 2 Nov 2023 10:45:02 -0700 Subject: [PATCH 1/3] outputs --- idaes/core/base/flowsheet_model.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/idaes/core/base/flowsheet_model.py b/idaes/core/base/flowsheet_model.py index d0775ac2b7..f8e92c104b 100644 --- a/idaes/core/base/flowsheet_model.py +++ b/idaes/core/base/flowsheet_model.py @@ -74,10 +74,7 @@ def __init__(self): self.visualize = self._visualize_null self.installed = False else: - # 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 - + import idaes_ui self.visualize = idaes_ui.fv.visualize self.installed = True From f5254086572597f06b847e0eb3062a5534314b7b Mon Sep 17 00:00:00 2001 From: Dan Gunter Date: Thu, 14 Nov 2024 13:14:18 -0800 Subject: [PATCH 2/3] config line --- idaes/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/idaes/config.py b/idaes/config.py index 584a90cd66..65d79ef0a6 100644 --- a/idaes/config.py +++ b/idaes/config.py @@ -68,6 +68,7 @@ "xubuntu1804": "ubuntu1804", "xubuntu2004": "ubuntu2004", "xubuntu2204": "ubuntu2204", + "pop22": "ubuntu2204", } # Machine map binary_arch_map = { From ca8942852bc1604dfb48a19790b96872c1858b65 Mon Sep 17 00:00:00 2001 From: Dan Gunter Date: Thu, 14 Nov 2024 13:19:34 -0800 Subject: [PATCH 3/3] reverted --- idaes/core/base/flowsheet_model.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/idaes/core/base/flowsheet_model.py b/idaes/core/base/flowsheet_model.py index 7b9fbf0aa9..b9ff3a63ca 100644 --- a/idaes/core/base/flowsheet_model.py +++ b/idaes/core/base/flowsheet_model.py @@ -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