mirror of
https://github.com/google-deepmind/alphafold3.git
synced 2026-06-02 11:54:36 +08:00
Fix a typing issue (passing ndarray instead of a list)
PiperOrigin-RevId: 913650173 Change-Id: I279a5fd0f791567d2ed77fe8cf8e796b74e4f193
This commit is contained in:
committed by
Copybara-Service
parent
8850da42a6
commit
881212473a
@@ -154,7 +154,7 @@ class Bonds(table.Table):
|
||||
cif['_struct_conn.pdbx_role'].append(bond_row['role'])
|
||||
cif['_struct_conn.conn_type_id'].append(bond_type)
|
||||
|
||||
bond_types = np.unique(self.type)
|
||||
bond_types = np.unique(self.type).tolist()
|
||||
cif['_struct_conn_type.id'] = bond_types
|
||||
unknown = ['?'] * len(bond_types)
|
||||
cif['_struct_conn_type.criteria'] = unknown
|
||||
|
||||
Reference in New Issue
Block a user