mirror of
https://github.com/RosettaCommons/foundry.git
synced 2026-06-04 13:24:22 +08:00
fix: tiny legacy parsing bug
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user