Skip to content

Commit

Permalink
Merge pull request #201 from KosinskiLab/add-unifold
Browse files Browse the repository at this point in the history
Update alphalink2 inference integration
  • Loading branch information
dingquanyu authored Nov 13, 2023
2 parents ed7218b + e3be144 commit 48103a0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion alphapulldown/run_multimer_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,6 @@ def predict_individual_jobs(multimer_object, output_path, model_runners, random_
unifold_predict(model_runner,general_args,processed_features)

elif FLAGS.use_alphalink:
assert FLAGS.crosslinks is not None
assert FLAGS.alphalink_weight is not None
from unifold.alphalink_inference import alphalink_prediction

Expand Down
2 changes: 1 addition & 1 deletion test/test_crosslink_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class TestCreateObjects(unittest.TestCase):
def setUp(self) -> None:
self.crosslink_info ="./test/test_data/test_xl_input.pkl.gz"
self.asym_id = [1]*10 + [2]*25 + [3]*40
self.asym_id = torch.tensor([1]*10 + [2]*25 + [3]*40)
self.chain_id_map = {
"A":_FastaChain(sequence='',description='chain1'),
"B":_FastaChain(sequence='',description='chain2'),
Expand Down

0 comments on commit 48103a0

Please sign in to comment.