Skip to content

Commit

Permalink
Merge pull request #2 from ECRL/dev
Browse files Browse the repository at this point in the history
Bug Fix for Unix Systems
  • Loading branch information
tjkessler authored Jun 9, 2019
2 parents da3aa5e + 26cce50 commit 7b9d8fb
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion padelpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from padelpy.wrapper import padeldescriptor
from padelpy.functions import from_mdl, from_smiles
__version__ = '0.1.3'
__version__ = '0.1.4'
Binary file removed padelpy/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file removed padelpy/__pycache__/functions.cpython-37.pyc
Binary file not shown.
Binary file removed padelpy/__pycache__/wrapper.cpython-37.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion padelpy/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# padelpy/functions.py
# v.0.1.3
# v.0.1.4
# Developed in 2019 by Travis Kessler <[email protected]>
#
# Contains various functions commonly used with PaDEL-Descriptor
Expand Down
4 changes: 2 additions & 2 deletions padelpy/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
#
# padelpy/wrapper.py
# v.0.1.3
# v.0.1.4
# Developed in 2019 by Travis Kessler <[email protected]>
#
# Contains the `padeldescriptor` function, a wrapper for PaDEL-Descriptor
Expand Down Expand Up @@ -117,7 +117,7 @@ def padeldescriptor(maxruntime: int=-1, waitingjobs: int=-1, threads: int=-1,
if usefilenameasmolname is True:
command += ' -usefilenameasmolname'

p = Popen(command, stdout=PIPE, stderr=PIPE)
p = Popen(command.split(), stdout=PIPE, stderr=PIPE)
_, err = p.communicate()
if err != b'':
raise RuntimeError('PaDEL-Descriptor encountered an error: {}'.format(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='padelpy',
version='0.1.3',
version='0.1.4',
description='A Python wrapper for PaDEL-Descriptor',
url='https://github.com/ecrl/padelpy',
author='Travis Kessler',
Expand Down

0 comments on commit 7b9d8fb

Please sign in to comment.