| 1 |
--- a/cclib/io/ccio.py |
| 2 |
+++ b/cclib/io/ccio.py |
| 3 |
@@ -322,7 +322,7 @@ |
| 4 |
if isinstance(source, str): |
| 5 |
ext = os.path.splitext(source)[1][1:].lower() |
| 6 |
if _has_cclib2openbabel: |
| 7 |
- import pybel as pb |
| 8 |
+ import openbabel.pybel as pb |
| 9 |
if ext in pb.informats: |
| 10 |
return cclib2openbabel.readfile(source, ext) |
| 11 |
else: |
| 12 |
--- a/cclib/io/filewriter.py |
| 13 |
+++ b/cclib/io/filewriter.py |
| 14 |
@@ -27,7 +27,7 @@ |
| 15 |
if _has_openbabel: |
| 16 |
from cclib.bridge import makeopenbabel |
| 17 |
import openbabel as ob |
| 18 |
- import pybel as pb |
| 19 |
+ import openbabel.pybel as pb |
| 20 |
|
| 21 |
|
| 22 |
class MissingAttributeError(Exception): |