Skip to content

Commit 228654e

Browse files
committed
Bump version to 0.4.3
- align url fix
1 parent dfb13e5 commit 228654e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openprotein/api/align.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def get_align_job_inputs(
131131
requests.Response
132132
The response from the server.
133133
"""
134-
endpoint = "v1/poet/align/inputs"
134+
endpoint = "v1/align/inputs"
135135

136136
params = {"job_id": job_id, "msa_type": input_type}
137137
if prompt_index is not None:
@@ -263,7 +263,7 @@ def msa_post(session: APISession, msa_file=None, seed=None):
263263
msa_file is not None and seed is not None
264264
):
265265
raise MissingParameterError("seed OR msa_file must be provided.")
266-
endpoint = "v1/poet/align/msa"
266+
endpoint = "v1/align/msa"
267267

268268
is_seed = False
269269
if seed is not None:
@@ -331,7 +331,7 @@ def prompt_post(
331331
-------
332332
PromptJob
333333
"""
334-
endpoint = "v1/poet/align/prompt"
334+
endpoint = "v1/align/prompt"
335335

336336
if not (0 <= homology_level <= 1):
337337
raise InvalidParameterError("The 'homology_level' must be between 0 and 1.")
@@ -406,7 +406,7 @@ def upload_prompt_post(
406406
An object representing the status and results of the prompt job.
407407
"""
408408

409-
endpoint = "v1/poet/align/upload_prompt"
409+
endpoint = "v1/align/upload_prompt"
410410
files = {"prompt_file": prompt_file}
411411
try:
412412
response = session.post(endpoint, files=files)

0 commit comments

Comments
 (0)