fix: tiny legacy parsing bug

This commit is contained in:
Raktim Mitra
2026-02-06 11:45:31 -08:00
parent 45e8f837ce
commit 335e580390

View File

@@ -251,12 +251,12 @@ def fetch_motif_residue_(
subarray.set_annotation(
"is_motif_atom_unindexed", subarray.is_motif_atom.copy()
)
# Subset to desired motif atoms
subarray = subarray[subarray.is_motif_atom.astype(bool)]
else:
subarray.set_annotation(
"is_motif_atom_unindexed", np.array([True]*len(subarray))
)
# Subset to desired motif atoms
subarray = subarray[subarray.is_motif_atom.astype(bool)]
# ... Relax sequence constraint if provided
if (