Skip to content

Commit

Permalink
minor fixes to mk_prepare_receptor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomart committed Nov 30, 2023
1 parent 712ea0d commit 40871fc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Meeko: preparation of small molecules for AutoDock

[![API stability](https://img.shields.io/badge/stable%20API-no-orange)](https://shields.io/)
[![PyPI version fury.io](https://img.shields.io/badge/version-0.6.0--alpha.1-green.svg)](https://pypi.python.org/pypi/ansicolortags/)
[![PyPI version fury.io](https://img.shields.io/badge/version-0.6.0--alpha.2-green.svg)](https://pypi.python.org/pypi/ansicolortags/)

Meeko reads an RDKit molecule object and writes a PDBQT string (or file)
for [AutoDock-Vina](https://github.com/ccsb-scripps/AutoDock-Vina)
Expand Down Expand Up @@ -35,7 +35,7 @@ For example, reading Mol2 files from ZINC
[led to incorrect net charge of some molecules.](https://github.com/forlilab/Meeko/issues/63)


## v0.6.0-alpha.1
## v0.6.0-alpha.2

This release aims to distribute an enhanced `mk_prepare_receptor.py`.
Some features are still being developed, hence the `-alpha` suffix in the version.
Expand Down
2 changes: 1 addition & 1 deletion meeko/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Meeko
#

__version__ = "0.6.0-alpha.1"
__version__ = "0.6.0-alpha.2"

try:
import openbabel
Expand Down
6 changes: 3 additions & 3 deletions meeko/linked_rdkit_chorizo.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,9 @@ def parameterize_residues(self, termini, ambiguous):
resmol = best_resmol
n_atoms = best_n_atoms
resn = best_resn
if len(possible_resn) > 1:
print("%9s" % res, "-->", resn, "...out of", possible_resn)
ambiguous_chosen[res] = f"{chain}:{resn}:{resnum}"
#if len(possible_resn) > 1:
# print("%9s" % res, "-->", resn, "...out of", possible_resn)
# ambiguous_chosen[res] = f"{chain}:{resn}:{resnum}"

resmol = self.build_resmol(res, resn)
if resmol is None:
Expand Down
6 changes: 3 additions & 3 deletions scripts/mk_prepare_receptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ def get_args():
### print(err, file=sys.stderr)
### sys.exit(2)

### reactive_flexres = {}
### all_ok = True
### all_err = ""
reactive_flexres = {}
all_ok = True
all_err = ""
### for resid_string in args.reactive_flexres:
### res_id, ok, err = parse_residue_string(resid_string)
### if ok:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def find_files(directory):

setup(
name="meeko",
version='0.6.0-alpha.1',
version='0.6.0-alpha.2',
author="Forli Lab",
author_email="[email protected]",
url="https://github.com/ccsb-scripps/meeko",
Expand Down

0 comments on commit 40871fc

Please sign in to comment.