Skip to content

Commit

Permalink
adding badges and cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
ale94mleon committed Jul 21, 2022
1 parent 344b7a0 commit b15d6e5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
8 changes: 7 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MolDrug
* - **Tutorials**
- |binder|
* - **CI/CD**
- |tests|
- |tests| |codecov| |lgtm|
* - **Build**
- |pypi-version| |conda|
* - **Source Code**
Expand Down Expand Up @@ -67,6 +67,12 @@ Please refer to the `citation page <https://moldrug.readthedocs.io/en/latest/sou
.. |tests| image:: https://github.com/ale94mleon/MolDrug/actions/workflows/python-package.yml/badge.svg
:target: https://github.com/ale94mleon/MolDrug/actions/workflows/python-package.yml
:alt: tests
.. |codecov| image:: https://codecov.io/gh/ale94mleon/MolDrug/branch/main/graph/badge.svg?token=RTLKQ070YX
:target: https://codecov.io/gh/ale94mleon/MolDrug
:alt: codecov
.. |lgtm| image:: https://img.shields.io/lgtm/grade/python/g/ale94mleon/MolDrug.svg?logo=lgtm&logoWidth=18
:target: https://lgtm.com/projects/g/ale94mleon/MolDrug/context:python
:alt: lgtm
.. |pypi-version| image:: https://img.shields.io/pypi/v/moldrug.svg
:target: https://pypi.python.org/pypi/moldrug/
:alt: pypi-version
Expand Down
2 changes: 1 addition & 1 deletion moldrug/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Source Code: https://github.com/ale94mleon/moldrug
"""
from moldrug import utils, __version__
import yaml, argparse, inspect, importlib, os
import yaml, argparse, inspect
from rdkit import Chem
def moldrug_cmd():
parser = argparse.ArgumentParser(description=__doc__,
Expand Down
1 change: 0 additions & 1 deletion moldrug/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ def lipinski_profile(mol:Chem.rdchem.Mol):
'HeavyAtomCount': {'method':Lipinski.HeavyAtomCount,'cutoff':None},
'NHOHCount': {'method':Lipinski.NHOHCount,'cutoff':None},
'NOCount': {'method':Lipinski.NOCount,'cutoff':None},
'NHOHCount': {'method':Lipinski.NHOHCount,'cutoff':None},
'NumAliphaticCarbocycles': {'method':Lipinski.NumAliphaticCarbocycles,'cutoff':None},
'NumAliphaticHeterocycles': {'method':Lipinski.NumAliphaticHeterocycles,'cutoff':None},
'NumAliphaticRings': {'method':Lipinski.NumAliphaticRings,'cutoff':None},
Expand Down
1 change: 0 additions & 1 deletion tests/test_moldrug.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from multiprocessing.context import assert_spawning
from rdkit import Chem
from moldrug import utils, fitness, home
from moldrug.data import receptors, ligands, boxes
Expand Down

0 comments on commit b15d6e5

Please sign in to comment.