Skip to content

Commit

Permalink
Avoid foldseek ligands error if no ligands are found.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgoddard committed Jul 26, 2024
1 parent 752a12c commit 8ca061e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundles/foldseek/src/ligands.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def foldseek_ligands(session, rmsd_cutoff = 3.0, alignment_range = 5.0, minimum_
lignames = ', '.join(sorted(lignames))
session.logger.status(f'Found {nlig} ligands in {nlighits} hits: {lignames}', log = True)

if combine:
if combine and keep_structs:
for structure in keep_structs:
_include_pdb_id_in_chain_ids(structure)
cmodel =_combine_structures(session, keep_structs)
Expand Down

0 comments on commit 8ca061e

Please sign in to comment.