Skip to content

Commit bc4f435

Browse files
committed
Rollout v0.5.0.dev1
Fix unnecessary refresh
1 parent 1e72523 commit bc4f435

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION ?= 0.5.0.dev0
1+
VERSION ?= 0.5.0.dev1
22
SHELL := /bin/bash
33

44
.PHONY: releasehere
@@ -48,8 +48,8 @@ releasehere:
4848
source activate bld && conda build ./anaconda_build
4949

5050
condabld:
51-
micromamba activate openprotein-sdk-build
52-
conda build -c conda-forge --numpy 2.1 ./anaconda_build
51+
micromamba activate openprotein-sdk-build
52+
conda build -c conda-forge --numpy 2.1 ./anaconda_build
5353

5454
proddocs:
5555
cd apidocs && make clean && make html

anaconda_build/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package:
22
name: openprotein-python
3-
version: "0.5.0.dev0"
3+
version: "0.5.0.dev1"
44

55
source:
66
path: ../

openprotein/app/models/predictor/predictor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ def __repr__(self) -> str:
4848

4949
@property
5050
def id(self):
51-
return self.metadata.id
51+
return self._metadata.id
5252

5353
@property
5454
def reduction(self):
55-
return self.metadata.model_spec.features.reduction
55+
return self._metadata.model_spec.features.reduction
5656

5757
@property
5858
def sequence_length(self):
59-
if (constraints := self.metadata.model_spec.constraints) is not None:
59+
if (constraints := self._metadata.model_spec.constraints) is not None:
6060
return constraints.sequence_length
6161
return None
6262

@@ -68,7 +68,7 @@ def training_assay(self) -> AssayDataset:
6868

6969
@property
7070
def training_properties(self) -> list[str]:
71-
return self.metadata.training_dataset.properties
71+
return self._metadata.training_dataset.properties
7272

7373
@property
7474
def metadata(self):

openprotein/app/models/svd.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,19 @@ def __repr__(self) -> str:
5050

5151
@property
5252
def id(self):
53-
return self.metadata.id
53+
return self._metadata.id
5454

5555
@property
5656
def n_components(self):
57-
return self.metadata.n_components
57+
return self._metadata.n_components
5858

5959
@property
6060
def sequence_length(self):
61-
return self.metadata.sequence_length
61+
return self._metadata.sequence_length
6262

6363
@property
6464
def reduction(self):
65-
return self.metadata.reduction
65+
return self._metadata.reduction
6666

6767
@property
6868
def metadata(self):

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "openprotein_python"
33
packages = [{ include = "openprotein" }]
4-
version = "0.5.0.dev0"
4+
version = "0.5.0.dev1"
55
description = "OpenProtein Python interface."
66
license = "MIT"
77
readme = "README.md"

0 commit comments

Comments
 (0)