Skip to content

Commit adc3d07

Browse files
committed
slight help text edit
1 parent 16610dd commit adc3d07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_suite/test_open_boundary.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def read_hgrid_gr3(file_path):
3535
return open_boundaries
3636

3737
def read_bctides_in(file_path):
38-
"""Read bctides.in and extract open boundary nodes."""
38+
"""Read bctides.in and extract number of open boundary nodes."""
3939
with open(file_path, 'r') as f:
4040
lines = [line.strip() for line in f if line.strip() and not line.strip().startswith('!')]
4141
ntip = int(lines[1].split()[0])
@@ -76,8 +76,8 @@ def test_boundary_consistency(sim_dir):
7676

7777
# Read boundary nodes from both files
7878
hgrid_boundaries = read_hgrid_gr3(hgrid_file)
79-
bctides_boundaries = read_bctides_in(bctides_file)
80-
79+
bctides_boundaries = read_bctides_in(bctides_file)
80+
8181
# Check if the number of boundaries matches
8282
assert len(hgrid_boundaries) == len(bctides_boundaries), \
8383
f"Mismatch in number of open boundaries: hgrid.gr3 has {len(hgrid_boundaries)}, bctides.in has {len(bctides_boundaries)}"

0 commit comments

Comments
 (0)