Skip to content

Commit

Permalink
final flake8 compliant issue
Browse files Browse the repository at this point in the history
  • Loading branch information
uramirez8707 committed Jul 29, 2024
1 parent efe0da6 commit 31c550b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fms_yaml_tools/diag_table/combine_diag_table_yamls.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,13 +157,13 @@ def combine_yaml(files, verboseprint):
verboseprint("Parsing the diag_table yaml:" + f)
my_table = yaml.safe_load(fl)
except yaml.scanner.ScannerError as scanerr:
print("ERROR:",scanerr)
print("ERROR:", scanerr)
raise Exception("ERROR: Please verify that the previous entry in the yaml file is entered as "
"\"key: value\" and not as \"key:value\" ")
if isinstance(my_table,str):
raise Exception("ERROR: diagYaml contains incorrectly formatted key value pairs."
" Make sure that entries are formatted as \"key: value\" and not \"key:value\" ")
"\"key: value\" and not as \"key:value\" ")

if isinstance(my_table, str):
raise Exception("ERROR: diagYaml contains incorrectly formatted key value pairs."
" Make sure that entries are formatted as \"key: value\" and not \"key:value\" ")

get_base_date(my_table, diag_table)

Expand Down

0 comments on commit 31c550b

Please sign in to comment.