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

Commit

Permalink
test env: loosen version constraints after dropping support for pytho…
Browse files Browse the repository at this point in the history
…n3.6
  • Loading branch information
fphammerle committed Jan 16, 2022
1 parent 79e4a0c commit 15baefd
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 92 deletions.
5 changes: 2 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ name = "pypi"
[packages]
freesurfer-stats = {editable = true, path = "."}

# python3.6 compatibility
numpy = "<1.20"
pandas = "<1.2"
# python3.7 compatibility
numpy = "<1.22"

[dev-packages]
black = "==20.8b1"
Expand Down
168 changes: 80 additions & 88 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion freesurfer_stats/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _read(self, stream: typing.TextIO) -> None:
else:
column_name, value = self._parse_whole_brain_measurements_line(line)
assert column_name not in self.whole_brain_measurements, column_name
self.whole_brain_measurements[column_name] = value
self.whole_brain_measurements[column_name] = value # type: ignore
line = self._read_header_line(stream)
columns = self._read_column_attributes(int(line[len("NTableCols ") :]), stream)
assert self._read_header_line(stream) == "ColHeaders " + " ".join(
Expand Down

0 comments on commit 15baefd

Please sign in to comment.