We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c4e00d commit 32a722bCopy full SHA for 32a722b
cf/read_write/read.py
@@ -848,8 +848,8 @@ def __new__(
848
if nfields is not None and len(out) != nfields:
849
raise ValueError(
850
f"{nfields} field{cls._plural(nfields)} requested but "
851
- f"{len(out)} field/domain constucts found in "
852
- f"file{cls._plural(file_counter)}"
+ f"{len(out)} field/domain constuct{cls._plural(len(out))}"
+ f" found in file{cls._plural(file_counter)}"
853
)
854
855
return out
0 commit comments