From 881212473ac93e967f5ac63fa22d051509c9b4e6 Mon Sep 17 00:00:00 2001 From: Augustin Zidek Date: Mon, 11 May 2026 05:36:10 -0700 Subject: [PATCH] Fix a typing issue (passing ndarray instead of a list) PiperOrigin-RevId: 913650173 Change-Id: I279a5fd0f791567d2ed77fe8cf8e796b74e4f193 --- src/alphafold3/structure/bonds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alphafold3/structure/bonds.py b/src/alphafold3/structure/bonds.py index 05198f9..b28ba79 100644 --- a/src/alphafold3/structure/bonds.py +++ b/src/alphafold3/structure/bonds.py @@ -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