Skip to content

Commit

Permalink
minor release with autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinblampey committed Dec 5, 2024
1 parent 613db16 commit 9060007
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## [0.2.1] - xxxx-xx-xx
## [0.2.1] - 2024-12-04

### Added
- `novae.utils.quantile_scaling` for proteins expression

### Fixed
- Fix autocompletion using `__new__` to trick hugging_face inheritance


## [0.2.0] - 2024-12-03
Expand Down
2 changes: 1 addition & 1 deletion novae/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __repr__(self) -> str:
return utils.pretty_model_repr(info_dict)

def __new__(cls) -> "Novae":
return super().__new__(cls)
return super().__new__(cls) # trick to enable auto-completion despite PyTorchModelHubMixin inheritance

@property
def datamodule(self) -> NovaeDatamodule:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "novae"
version = "0.2.0"
version = "0.2.1"
description = "Graph-based foundation model for spatial transcriptomics data"
documentation = "https://mics-lab.github.io/novae/"
homepage = "https://mics-lab.github.io/novae/"
Expand Down

0 comments on commit 9060007

Please sign in to comment.