Skip to content

Commit

Permalink
Update for addressing KRS alignment error
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorFWild committed Dec 3, 2024
1 parent 3d9a784 commit 438275d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ligand_neighbourhood_alignment/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,9 @@ def _get_closest_xtalform(xtalforms: dict[str, dt.XtalForm], structure, structur
# Check they have the same protein chains
xtalform_protein_chains = [_chain for xtalform_assembly in xtalform.assemblies.values() for _chain in xtalform_assembly.chains]
dataset_protein_chains = _get_dataset_protein_chains(structure)
print(f'Protein chains: {set(dataset_protein_chains)}')
print(f'Dataseet chains: {set(dataset_protein_chains)}')

if set(dataset_protein_chains) != set(xtalform_protein_chains):
continue

Expand Down

0 comments on commit 438275d

Please sign in to comment.