fix atom14 scheme cases

This commit is contained in:
Raktim Mitra
2026-02-18 22:51:57 -08:00
committed by Raktim Mitra
parent 3578002956
commit 3d016cd389

View File

@@ -264,10 +264,14 @@ def _readout_seq_from_struc(
ATOM_NAMES = ATOM23_ATOM_NAMES_DNA
if not cur_res_atom_array.is_dna[0]:
continue
if restype in STANDARD_RNA:
elif restype in STANDARD_RNA:
ATOM_NAMES = ATOM23_ATOM_NAMES_RNA
if not cur_res_atom_array.is_rna[0]:
continue
else:
#ATOM_NAMES = ATOM23_ATOM_NAMES_RNA
if not cur_res_atom_array.is_protein[0]:
continue
atom_name_idx_in_atom14_scheme = np.array(
[