Skip to content

Commit

Permalink
Print opt error from PyCECT. Remove extra whitespace in help message.
Browse files Browse the repository at this point in the history
  • Loading branch information
teopb committed Jun 6, 2024
1 parent f0ccb4c commit cb5beb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pyCECT.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def main(argv):
try:
opts, args = getopt.getopt(argv, 'h', optkeys)
except getopt.GetoptError:
print(getopt.GetoptError)
pyEnsLib.CECT_usage()
sys.exit(2)

Expand Down
2 changes: 1 addition & 1 deletion pyEnsLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ def CECT_usage():
' --printStdMean : print out variables that fall outside of the global mean ensemble distribution (off by default for a pass)'
)
print(
' --saveResults savefile : save a netcdf file with scores and std global means from the test runs (savefile). '
' --saveResults savefile : save a netcdf file with scores and std global means from the test runs (savefile). '
)
print(
' --eet <num> : enable Ensemble Exhaustive Test (EET) to compute failure percent of <num> runs (greater than or equal to numRunFile)'
Expand Down

0 comments on commit cb5beb4

Please sign in to comment.