Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errput may be empty string or None #1390

Merged
merged 1 commit into from
Apr 20, 2017

Conversation

jgfouca
Copy link
Contributor

@jgfouca jgfouca commented Apr 20, 2017

In either case, you want to inform the user using output
instead of errput. When user was adding combine_output=True,
errput was coming back as None, not "".

Test suite: scripts_regression_tests --fast
Test baseline:
Test namelist changes:
Test status: bit for bit

Fixes [CIME Github issue #]

User interface changes?: None

Code review: @jedwards4b

In either case, you want to inform the user using output
instead of errput.
@jedwards4b jedwards4b merged commit 2742c17 into master Apr 20, 2017
@jgfouca jgfouca deleted the jgfouca/fix_bug_in_errput_run_cmd branch April 20, 2017 18:02
jgfouca added a commit that referenced this pull request Jun 2, 2017
preview_namelists.create_namelists wasn't re-creating dirs

... and therefore did not handle the case where the user
called case.build --clean-all. For most components, it didn't
matter, but it did for CAM.

Fixes #1390

[BFB]

* jgfouca/cime/create_namelists_fix:
  preview_namelists.create_namelists was re-creating dirs
jgfouca added a commit that referenced this pull request Feb 23, 2018
preview_namelists.create_namelists wasn't re-creating dirs

... and therefore did not handle the case where the user
called case.build --clean-all. For most components, it didn't
matter, but it did for CAM.

Fixes #1390

[BFB]

* jgfouca/cime/create_namelists_fix:
  preview_namelists.create_namelists was re-creating dirs
jgfouca added a commit that referenced this pull request Mar 13, 2018
preview_namelists.create_namelists wasn't re-creating dirs

... and therefore did not handle the case where the user
called case.build --clean-all. For most components, it didn't
matter, but it did for CAM.

Fixes #1390

[BFB]

* jgfouca/cime/create_namelists_fix:
  preview_namelists.create_namelists was re-creating dirs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants