Skip to content

Commit 5bf2782

Browse files
authored
Update ags3.py by making line 272 and f-string
The ValueError text in line 272 appears to be intended to be an f-string
1 parent 89fafb1 commit 5bf2782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bedrock_ge/gi/ags3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _get_depth_columns(group: str, headers: list[str]) -> tuple[str | None, str
269269
base_depth = None
270270
if not top_depth and not base_depth:
271271
raise ValueError(
272-
'The in-situ test group "{group}" group in this AGS 3 file does not contain a top or base depth heading!'
272+
f'The in-situ test group "{group}" group in this AGS 3 file does not contain a top or base depth heading!'
273273
)
274274

275275
return top_depth, base_depth

0 commit comments

Comments
 (0)