diff --git a/freesurfer_stats/__init__.py b/freesurfer_stats/__init__.py index c5aeaa8..299e77e 100644 --- a/freesurfer_stats/__init__.py +++ b/freesurfer_stats/__init__.py @@ -195,7 +195,7 @@ def read(cls, path: typing.Union[str, pathlib.Path]) -> "CorticalParcellationSta ) = pandas.io.common.get_filepath_or_buffer(path) # https://github.com/pandas-dev/pandas/blob/v0.25.3/pandas/io/common.py#L171 # https://github.com/pandas-dev/pandas/blob/v0.21.0/pandas/io/common.py#L171 - if instructions: + if instructions: # pragma: no cover assert len(instructions) == 1, instructions should_close = instructions[0] else: