Skip to content

Commit 9060007

Browse files
minor release with autocompletion
1 parent 613db16 commit 9060007

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
## [0.2.1] - xxxx-xx-xx
1+
## [0.2.1] - 2024-12-04
22

3+
### Added
4+
- `novae.utils.quantile_scaling` for proteins expression
5+
6+
### Fixed
7+
- Fix autocompletion using `__new__` to trick hugging_face inheritance
38

49

510
## [0.2.0] - 2024-12-03

novae/model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __repr__(self) -> str:
127127
return utils.pretty_model_repr(info_dict)
128128

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

132132
@property
133133
def datamodule(self) -> NovaeDatamodule:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "novae"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = "Graph-based foundation model for spatial transcriptomics data"
55
documentation = "https://mics-lab.github.io/novae/"
66
homepage = "https://mics-lab.github.io/novae/"

0 commit comments

Comments
 (0)