Skip to content

Commit f78251d

Browse files
Change an error message from a tuple to a string in grdclip.py (#4333)
The msg variable in grdclip.py that was an error message when raising GMTInvalidInput was a tuple. This changes it to be string, while still in accordance with PEP 8.
1 parent 8d5b10b commit f78251d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pygmt/src/grdclip.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def grdclip(
112112
"""
113113
if all(v is None for v in (above, below, between, replace)):
114114
msg = (
115-
"Must specify at least one of the following parameters: ",
116-
"'above', 'below', 'between', or 'replace'.",
115+
"Must specify at least one of the following parameters: "
116+
"'above', 'below', 'between', or 'replace'."
117117
)
118118
raise GMTInvalidInput(msg)
119119

0 commit comments

Comments
 (0)