Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
philopon committed Feb 26, 2019
1 parent d891351 commit b491aa2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import os
import re
import sys

sys.path.insert(0, os.path.abspath('..'))


Expand Down
5 changes: 3 additions & 2 deletions docs/scripts/gen_descriptor_doc.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import sys
from itertools import chain

import load_path
from mordred import descriptors
from mordred._base.descriptor import is_descriptor_class
from itertools import chain
import sys

load_path.nop()

Expand Down
1 change: 0 additions & 1 deletion docs/scripts/gen_descriptor_list_xlsx.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from openpyxl import Workbook
from openpyxl.styles import Font

from gen_default_descs import DescriptorInfo, get_all_descriptors


Expand Down
2 changes: 1 addition & 1 deletion docs/scripts/load_path.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
import os
import sys


def nop():
Expand Down
1 change: 1 addition & 0 deletions examples/010-single_mol-single_desc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from rdkit import Chem

from mordred import Chi, ABCIndex

benzene = Chem.MolFromSmiles('c1ccccc1')
Expand Down
1 change: 1 addition & 0 deletions examples/110-descriptor-arithmetic.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from rdkit import Chem

from mordred import Chi, ABCIndex

benzene = Chem.MolFromSmiles('c1ccccc1')
Expand Down
2 changes: 1 addition & 1 deletion extra/ci/bump-dev-version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from distutils.version import StrictVersion
import sys
from distutils.version import StrictVersion


def main(version):
Expand Down
1 change: 0 additions & 1 deletion extra/gen_sdf_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from rdkit.Chem import AllChem as Chem


BASE = os.path.join(
os.path.dirname(__file__),
'..', 'mordred', 'tests', 'references'
Expand Down
2 changes: 1 addition & 1 deletion mordred/_base/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
from abc import ABCMeta, abstractmethod
from contextlib import contextmanager
from distutils.version import StrictVersion
from rdkit import Chem

import six
import numpy as np
from rdkit import Chem

if hasattr(inspect, "getfullargspec"):
def getargs(func):
Expand Down

0 comments on commit b491aa2

Please sign in to comment.