mirror of
https://github.com/baker-laboratory/RoseTTAFold-All-Atom.git
synced 2024-11-04 22:25:42 +00:00
fix(data): join unique a3m results only
Fixes seoklab/RoseTTAFold-All-Atom#3.
This commit is contained in:
parent
c09141f1d5
commit
156e25ee49
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,8 @@ def merge_protein_inputs(protein_inputs, deterministic: bool = False):
|
||||||
|
|
||||||
if len(unique_a3m) >1:
|
if len(unique_a3m) >1:
|
||||||
a3m_out = unique_a3m[0]
|
a3m_out = unique_a3m[0]
|
||||||
for i in range(1, len(unique_a3m)):
|
for unq_a3m in unique_a3m[1:]:
|
||||||
a3m_out = join_msas_by_taxid(a3m_out, a3m_list[i])
|
a3m_out = join_msas_by_taxid(a3m_out, unq_a3m)
|
||||||
a3m_out = expand_multi_msa(a3m_out, unique_hashes, hash_list, unique_lengths_list, lengths_list)
|
a3m_out = expand_multi_msa(a3m_out, unique_hashes, hash_list, unique_lengths_list, lengths_list)
|
||||||
else:
|
else:
|
||||||
a3m = unique_a3m[0]
|
a3m = unique_a3m[0]
|
||||||
|
|
Loading…
Reference in a new issue