Skip to content

Commit 54b0481

Browse files
committed
AsdA
1 parent 4e4077e commit 54b0481

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

visualCaseGen/custom_widget_types/case_creator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ def __init__(self, cime, output=None, allow_xml_override=False):
4141
self._out = DummyOutput() if output is None else output
4242
self._allow_xml_override = allow_xml_override
4343
self._assign_grids_through_ccs_config = is_ccs_config_writeable(cime) # By default, visualCaseGen assigns grids through ccs_config, if not possible (which can happen if the user does not own the sandbox), it applies the change through xml case changes.
44+
if not self._assign_grids_through_ccs_config:
45+
with self._out:
46+
print(f"{COMMENT}ccs_config is not writeable, so case grids will be assigned through xml changes{RESET}\n")
4447

4548
def revert_launch(self, do_exec=True):
4649
"""This function is called when the case creation fails. It reverts the changes made

0 commit comments

Comments
 (0)