Skip to content

Commit a9f7006

Browse files
committed
Error message edit
Add name of all hgrid open boundary to error message
1 parent cb59bed commit a9f7006

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

schimpy/bctide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,8 @@ def write_bctides(self, bctides_file):
662662
bname_yaml = self.open_boundaries[i].get("name","")
663663
if bname_yaml not in bname_hgrid_lst:
664664
raise ValueError(
665-
"boundary name %s from YAML not found in hgrid boundary names"
666-
% bname_yaml
665+
"boundary name %s from YAML not found in hgrid boundary names %s"
666+
% (bname_yaml,bname_hgrid_lst)
667667
)
668668
else:
669669
index_in_hgrid = bname_hgrid_lst.index(bname_yaml)

0 commit comments

Comments
 (0)