|
@@ -195,10 +195,10 @@ class CorticalParcellationStats:
|
|
|
) = pandas.io.common.get_filepath_or_buffer(path)
|
|
|
|
|
|
|
|
|
- if instructions:
|
|
|
+ if instructions:
|
|
|
assert len(instructions) == 1, instructions
|
|
|
should_close = instructions[0]
|
|
|
- else:
|
|
|
+ else:
|
|
|
should_close = hasattr(path_or_buffer, "close")
|
|
|
stats = cls()
|
|
|
if hasattr(path_or_buffer, "readline"):
|