Skip to content

Commit

Permalink
if else align
Browse files Browse the repository at this point in the history
  • Loading branch information
aradhakrishnanGFDL committed Aug 6, 2024
1 parent 3fc1bc6 commit f408fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalogbuilder/scripts/gen_intake_gfdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ def create_catalog(input_path=None, output_path=None, config=None, filter_realm=
input_path = configyaml.input_path
output_path = configyaml.output_path

if configyaml.schema is None or not configyaml.schema:
if configyaml.schema is None or not configyaml.schema:
print("We will use catalog builder catalogbuilder/cats/gfdl_template.json as your json schema")
template_path = os.path.join(package_dir, '../cats/gfdl_template.json')
else:
else:
template_path = configyaml.schema
print("Using schema from config file", template_path)
if not os.path.exists(input_path):
Expand Down

0 comments on commit f408fe1

Please sign in to comment.