Skip to content

Commit 3bede00

Browse files
committed
Release v0.5.5
1 parent 918ee79 commit 3bede00

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION ?= 0.5.4
1+
VERSION ?= 0.5.5
22
SHELL := /bin/bash
33

44
.PHONY: releasehere

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.4"
3+
version: "0.5.5"
44

55
source:
66
path: ../

openprotein/app/models/predict.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import logging
22
from typing import TYPE_CHECKING
33

4+
from openprotein import config
45
from openprotein.api import predict
56
from openprotein.base import APISession
67
from openprotein.errors import MissingParameterError
@@ -133,6 +134,23 @@ def _fmt_ssp_results(
133134
# else:
134135
# return self._fmt_ssp_results(results)
135136

137+
def wait_until_done(
138+
self, interval: int = config.POLLING_INTERVAL, timeout=None, verbose=False
139+
):
140+
if self.id is not None:
141+
return super().wait_until_done(interval, timeout, verbose)
142+
return True
143+
144+
def wait(
145+
self,
146+
interval: int = config.POLLING_INTERVAL,
147+
timeout: int | None = None,
148+
verbose: bool = False,
149+
):
150+
if self.id is not None:
151+
return super().wait(interval, timeout, verbose)
152+
return self.get(verbose=verbose)
153+
136154
def get_dict(self, verbose: bool = False) -> dict:
137155

138156
results: list = []

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.4"
4+
version = "0.5.5"
55
description = "OpenProtein Python interface."
66
license = "MIT"
77
readme = "README.md"

0 commit comments

Comments
 (0)