Name and suffix do not contribute to output filenames when output.output_filename is not None:mk_prepare_ligand.py
outputs (overwrites) prepared covalent ligands at different residues to the same file
#278
Labels
refactor
Improvements to the code without necessarily adding features
This is because the current way to get suffixes (to distinguish output filename) is the length of molsetup. The covalent ligand preparation may yield multiple molsetups, but the suffix can be empty if the length of each molsetup is 1. Therefore, these molsetups of length of 1 will be (over)written to the same output file, even with a table of summary ilke:
There is a similar issue when there are multiple binding patterns (tether smarts have multiple matches).
Posting here as a known issue. Will be fixed in PR #277
The text was updated successfully, but these errors were encountered: