Skip to content

Commit 524a76b

Browse files
committed
Use Sapiens 1.1.0
1 parent 1c53019 commit 524a76b

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ work
77
.kube-tmp-token
88
tests/robot/results
99
data
10-
10+
build

biophi/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.9'
1+
__version__ = '1.0.11'

biophi/common/cli/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
@click.command()
88
@click.option('--host', default='localhost', help='Server port')
9-
@click.option('--port', type=int, default=5000, help='Server port')
9+
@click.option('--port', type=int, default=5001, help='Server port')
1010
def web(host, port):
1111
"""Run the BioPhi web interface in simplified mode (without a processing queue)"""
1212
logo()

biophi/humanization/methods/humanization.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,12 @@ def sapiens_humanize_chain(parental_chain: Chain, params: SapiensHumanizationPar
246246
)
247247

248248

249-
def sapiens_predict_chain(chain, model_version='latest', return_all_hiddens=False):
249+
def sapiens_predict_chain(chain, model_version='latest', return_embeddings=False):
250+
# model_version is unused but kept for backwards compatibility
251+
assert model_version == "latest"
252+
250253
return sapiens.predict_scores(
251254
seq=chain.seq,
252255
chain_type=chain.chain_type,
253-
model_version=model_version,
254-
return_all_hiddens=return_all_hiddens
256+
return_embeddings=return_embeddings
255257
)

environment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ channels:
44
- conda-forge
55
dependencies:
66
- python = 3.9
7-
- pip<24.1 # due to error in omegaconf (dependency of fairseq)
7+
- pip
88
- abnumber == 0.3.2
99
- anarci == 2020.04.23
1010
- hmmer >= 3.1
@@ -22,4 +22,4 @@ dependencies:
2222
- tqdm
2323
- xlsxwriter
2424
- humanize
25-
- sapiens >= 1.0.5
25+
- sapiens >= 1.1.0

0 commit comments

Comments
 (0)