Skip to content

Commit

Permalink
Update openmmdlanalysis.py
Browse files Browse the repository at this point in the history
adjusted name in extracting and saving ligand as sdf
  • Loading branch information
talagayev authored Jun 8, 2024
1 parent 7606e29 commit 2ef46b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmmdl/openmmdl_analysis/openmmdlanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,8 @@ def main():
print("\033[1mFiles are preprocessed\033[0m")

if ligand_sdf == None:
extract_and_save_ligand_as_sdf(topology, "./lig.sdf", ligand)
ligand_sdf = "./lig.sdf"
extract_and_save_ligand_as_sdf(topology, "./ligand_prepared.sdf", ligand)
ligand_sdf = "./ligand_prepared.sdf"

if not pdb_md:
pdb_md = mda.Universe(topology, trajectory)
Expand Down

0 comments on commit 2ef46b7

Please sign in to comment.