Skip to content

Commit

Permalink
Rollout v0.5.0.dev1
Browse files Browse the repository at this point in the history
Fix unnecessary refresh
  • Loading branch information
markgeejw committed Oct 3, 2024
1 parent 1e72523 commit bc4f435
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION ?= 0.5.0.dev0
VERSION ?= 0.5.0.dev1
SHELL := /bin/bash

.PHONY: releasehere
Expand Down Expand Up @@ -48,8 +48,8 @@ releasehere:
source activate bld && conda build ./anaconda_build

condabld:
micromamba activate openprotein-sdk-build
conda build -c conda-forge --numpy 2.1 ./anaconda_build
micromamba activate openprotein-sdk-build
conda build -c conda-forge --numpy 2.1 ./anaconda_build

proddocs:
cd apidocs && make clean && make html
Expand Down
2 changes: 1 addition & 1 deletion anaconda_build/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: openprotein-python
version: "0.5.0.dev0"
version: "0.5.0.dev1"

source:
path: ../
Expand Down
8 changes: 4 additions & 4 deletions openprotein/app/models/predictor/predictor.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ def __repr__(self) -> str:

@property
def id(self):
return self.metadata.id
return self._metadata.id

@property
def reduction(self):
return self.metadata.model_spec.features.reduction
return self._metadata.model_spec.features.reduction

@property
def sequence_length(self):
if (constraints := self.metadata.model_spec.constraints) is not None:
if (constraints := self._metadata.model_spec.constraints) is not None:
return constraints.sequence_length
return None

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

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

@property
def metadata(self):
Expand Down
8 changes: 4 additions & 4 deletions openprotein/app/models/svd.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ def __repr__(self) -> str:

@property
def id(self):
return self.metadata.id
return self._metadata.id

@property
def n_components(self):
return self.metadata.n_components
return self._metadata.n_components

@property
def sequence_length(self):
return self.metadata.sequence_length
return self._metadata.sequence_length

@property
def reduction(self):
return self.metadata.reduction
return self._metadata.reduction

@property
def metadata(self):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "openprotein_python"
packages = [{ include = "openprotein" }]
version = "0.5.0.dev0"
version = "0.5.0.dev1"
description = "OpenProtein Python interface."
license = "MIT"
readme = "README.md"
Expand Down

0 comments on commit bc4f435

Please sign in to comment.