Miscellaneous pre-existing issues found while reviewing #45
@manishvenu is already working on this.
Since Sep 11, 2026.
Assessment
This issue has not been assessed yet.
Description
Three unrelated issues that came up while reviewing #45. None of them are introduced by that PR, so noting them here instead.
-
ww3_input_generator.py:80disables the Generate button for the duration ofon_btn_generate_clicked, and restores it at lines 92 and 102, i.e., on the two error paths only. The success path at line 99 doesn't restore it, andreset()(lines 49-52) clearsWW3_INPUT_STATUSwithout re-enabling the button. So after a successful generation, returning to the Wave Grid stage leaves it blocked on aNonestatus, with the only button that can set that status disabled. Addingself.disabled = Falseafter line 99, or moving the restore intoreset(), should cover it. -
case_creator.py:44:
assert is_ccs_config_writeable or not add_grids_to_ccs_config, "Cannot write to ccs_config xml files. ..."
is_ccs_config_writeable is a function (case_tools.py:12), so the bare name is always truthy and this assert can never fail. It is called correctly at line 276. Should be is_ccs_config_writeable(cime).
case_creator.py:717and722, in_apply_mom_namelist_changes, open two datasets that are never closed, and the vgrid one isn't even bound to a name:
ds_topo = xr.open_dataset(topo_file_path)
...
nk = len(xr.open_dataset(vgrid_file_path).dz)
Both should be with xr.open_dataset(...) as ds:.
- Dominant language
- Python
- Stars
- 16
- Forks
- 4
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ESMCI/visualCaseGen
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ESMCI/visualCaseGen#43 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
ESMCI/visualCaseGen#44 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ESMCI/visualCaseGen#40 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
ESMCI/visualCaseGen#33 ·
-
question
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
ESMCI/visualCaseGen#25 · 1 comment ·
All issues in ESMCI/visualCaseGen
Similar issues
-
bug Triage-Needed
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
FuRongJun-1999/dsh-memory#170 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
521xueweihan/HelloGitHub#3940 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100