Skip to content

Commit

Permalink
added SDF to metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
tdudgeon committed Oct 30, 2024
1 parent d0b51f1 commit 1f9b768
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/xchemalign/aligner.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,9 @@ def _extract_components(self, crystals, aligner_meta):
v5[Constants.META_LIGAND_MOL] = (
str(pdbxtal.ligand_base_file.relative_to(self.base_dir)) + '.mol'
)
v5[Constants.META_LIGAND_SDF] = (
str(pdbxtal.ligand_base_file.relative_to(self.base_dir)) + '.sdf'
)
v5[Constants.META_LIGAND_PDB] = (
str(pdbxtal.ligand_base_file.relative_to(self.base_dir)) + '.pdb'
)
Expand Down
1 change: 1 addition & 0 deletions src/xchemalign/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class Constants:
META_PDB_APO_SOLV = "pdb_apo_solv"
META_PDB_APO_DESOLV = "pdb_apo_desolv"
META_LIGAND_MOL = "ligand_mol"
META_LIGAND_SDF = "ligand_sdf"
META_LIGAND_PDB = "ligand_pdb"
META_LIGAND_NAME = "ligand_name"
META_LIGAND_SMILES_STRING = "ligand_smiles_string"
Expand Down

0 comments on commit 1f9b768

Please sign in to comment.