Skip to content

Commit

Permalink
improve error message when config_files.xml is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Apr 28, 2017
1 parent 45af658 commit 035d372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/lib/CIME/XML/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self):
"""
cimeroot = get_cime_root()
infile = os.path.join(cimeroot, "config", get_model(), "config_files.xml")
expect(os.path.isfile(infile), "Could not find or open file %s"%infile)
schema = os.path.join(cimeroot, "config", "xml_schemas", "entry_id.xsd")
EntryID.__init__(self, infile, schema=schema)

Expand Down

0 comments on commit 035d372

Please sign in to comment.