felixplasser / theodore-qc

TheoDORE - A package for Theoretical Density, Orbital Relaxation and Exciton analysis
https://theodore-qc.sourceforge.io/
GNU General Public License v3.0
29 stars 8 forks source link

Consider replacing 'import openbabel' with 'from openbabel import openbabel' #14

Closed srk closed 2 years ago

srk commented 3 years ago

Consider replacing 'import openbabel' with 'from openbabel import openbabel'.

My Python3 distribution package of openbabel creates a warning saying the former syntax is deprecated

felixplasser commented 2 years ago

The problem is that with older version of openbabel only the original statement import openbabel works. That is why I am leaving it like this for now.