case.qstatus will not work.
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at CIME/XML/env_batch.py lines 1392-1409 and inspect how self.get_optional_child searches the batch_system entries in config_batch.xml and the machine directory. Verify the case.qstatus path finds a non-None batch_query, then exercise the affected configuration to confirm it works.
Written by the indexing model from the issue text.
Description
Since the root= is not specified in the self.get_optional_child call and "batch_query" is not a child of self in most cases but it's grandchild, it will return None. Since we have at list two children (one in config_batch.xml in ccs_config/machines and another one in the machine directory). The trival fix would be too loop through "batch_system" and take the last "batch_query" that is not None. Should I fire a PR?
- Dominant language
- Python
- Stars
- 174
- Forks
- 225
- Avg merge
- 2d 30m
- Merged PRs (30d)
- 15
Contributor 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/cime
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Low Priority Responsibility: CESM tp: user interface ty: Discussion ty: question user interface
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Low Priority Responsibility: CESM tp: CIMElib ty: enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100