Skip to content

Commit

Permalink
Fixed bug in PR sokrypton#633
Browse files Browse the repository at this point in the history
  • Loading branch information
ntnn19 committed Jul 25, 2024
1 parent 3f85170 commit c0d371d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions colabfold/batch.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

from __future__ import annotations

import os
Expand Down Expand Up @@ -373,6 +374,9 @@ def predict_structure(
# TODO: add pad_input_mulitmer()
input_features = feature_dict
input_features["asym_id"] = input_features["asym_id"] - input_features["asym_id"][...,0]
input_features['chain_num'] = input_features["asym_id"].max() + 1
model_runner.chain_num = input_features['chain_num']

else:
if model_num == 0:
input_features = model_runner.process_features(feature_dict, random_seed=seed)
Expand Down

0 comments on commit c0d371d

Please sign in to comment.