Skip to content

Commit 77e1e40

Browse files
committed
fixed grammar in exception message
1 parent 4915f8a commit 77e1e40

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pydra/engine/specs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -999,8 +999,8 @@ def get_value(
999999
"that don't return stable hash values for specific object "
10001000
"types across multiple processes (see bytes_repr() "
10011001
'"singledispatch "function in pydra/utils/hash.py).'
1002-
"You may need to implement a specific `bytes_repr()` "
1003-
"implementations (see pydra.utils.hash.register_serializer) or a "
1002+
"You may need to write a specific `bytes_repr()` "
1003+
"implementation (see `pydra.utils.hash.register_serializer`) or a "
10041004
"`__bytes_repr__()` dunder methods to handle one or more types in "
10051005
"your interface inputs."
10061006
)

pydra/engine/submitter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ async def expand_workflow(self, wf, rerun=False):
228228
"that don't return stable hash values for specific object "
229229
"types across multiple processes (see bytes_repr() "
230230
'"singledispatch "function in pydra/utils/hash.py).'
231-
"You may need to implement a specific `bytes_repr()` "
232-
"implementation (see pydra.utils.hash.register_serializer) "
233-
"s or `__bytes_repr__()` dunder methods to handle one "
231+
"You may need to write a specific `bytes_repr()` "
232+
"implementation (see `pydra.utils.hash.register_serializer`) "
233+
"or `__bytes_repr__()` dunder methods to handle one "
234234
"or more types in your interface inputs."
235235
)
236236
raise RuntimeError(msg)

0 commit comments

Comments
 (0)