Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
CorticalParcellationStats.read: exclude block depending on pandas ver…
Browse files Browse the repository at this point in the history
…sion from coverage check
  • Loading branch information
fphammerle committed May 30, 2020
1 parent a6925fd commit db9c7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freesurfer_stats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit db9c7db

Please sign in to comment.