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.
2 parents e81dae1 + 81a652e commit 04fa1a4Copy full SHA for 04fa1a4
fileformats/generic/fsobject.py
@@ -14,8 +14,9 @@ class FsObject(FileSet, os.PathLike): # type: ignore
14
@property
15
def fspath(self) -> Path:
16
if len(self.fspaths) > 1:
17
+ fspaths = [str(f) for f in self.fspaths]
18
raise FormatMismatchError(
- f"More than one fspath ({self.fspaths}) provided to FsObject, "
19
+ f"More than one fspath ({fspaths}) provided to FsObject, "
20
f"primary path is ambiguous"
21
)
22
return next(iter(self.fspaths))
0 commit comments