mirror of
https://github.com/RosettaCommons/foundry.git
synced 2026-06-04 13:24:22 +08:00
Fix: stop dropping nucleic acid residues in partial diffusion (#281)
* stop dropping nucleic acid residues in partial diffusion * stop dropping nucleic acids in partial diffusion rfd3na * ruff format * Update input_parsing.py ruff format
This commit is contained in:
@@ -611,7 +611,9 @@ class DesignInputSpecification(BaseModel):
|
||||
).astype(int)
|
||||
|
||||
# ... Subset to residues only
|
||||
atom_array_in = atom_array_in[atom_array_in.is_protein]
|
||||
atom_array_in = atom_array_in[
|
||||
atom_array_in.is_protein | atom_array_in.is_dna | atom_array_in.is_rna
|
||||
]
|
||||
|
||||
# ... Set chain ID for unindexed residues as whatever the input has
|
||||
start_resid = np.max(atom_array_in.res_id) + 1
|
||||
|
||||
@@ -640,7 +640,9 @@ class DesignInputSpecification(BaseModel):
|
||||
).astype(int)
|
||||
|
||||
# ... Subset to residues only
|
||||
atom_array_in = atom_array_in[atom_array_in.is_protein]
|
||||
atom_array_in = atom_array_in[
|
||||
atom_array_in.is_protein | atom_array_in.is_dna | atom_array_in.is_rna
|
||||
]
|
||||
|
||||
# ... Set chain ID for unindexed residues as whatever the input has
|
||||
start_resid = np.max(atom_array_in.res_id) + 1
|
||||
|
||||
Reference in New Issue
Block a user