Skip to content

Commit c0d371d

Browse files
author
ntnn19
committed
Fixed bug in PR sokrypton#633
1 parent 3f85170 commit c0d371d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

colabfold/batch.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
from __future__ import annotations
23

34
import os
@@ -373,6 +374,9 @@ def predict_structure(
373374
# TODO: add pad_input_mulitmer()
374375
input_features = feature_dict
375376
input_features["asym_id"] = input_features["asym_id"] - input_features["asym_id"][...,0]
377+
input_features['chain_num'] = input_features["asym_id"].max() + 1
378+
model_runner.chain_num = input_features['chain_num']
379+
376380
else:
377381
if model_num == 0:
378382
input_features = model_runner.process_features(feature_dict, random_seed=seed)

0 commit comments

Comments
 (0)