Skip to content

Commit

Permalink
fix: pin numpy to ensure a recent version of numpy (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
aryarm authored Dec 23, 2022
1 parent f61f613 commit 7c84a45
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 53 deletions.
2 changes: 1 addition & 1 deletion haptools/data/haplotypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def to_str(self, sort: bool = True) -> Generator[str, None, None]:
for symbol, line_instance in self.types.items():
extras_order = line_instance.extras_order()
if extras_order:
yield f"#\torder{symbol}\t" + "\t".join(line_instance.extras_order())
yield f"#\torder{symbol}\t" + "\t".join(extras_order)
yield "#\tversion\t" + self.version
for line_instance in self.types.values():
yield from sorted(line_instance.extras_head())
Expand Down
105 changes: 53 additions & 52 deletions poetry.lock

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

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ documentation = "https://haptools.readthedocs.io"

[tool.poetry.dependencies]
python = ">=3.7,<3.11"
numpy = ">=1.20.0"
click = ">=8.0.3"
pysam = ">=0.19.0"
cyvcf2 = ">=0.30.14"
Expand Down

0 comments on commit 7c84a45

Please sign in to comment.