Showing 1 of 1 files from the diff.

@@ -1601,7 +1601,10 @@
Loading
1601 1601
                                           self._conformer._molecule.q_alpha[i]))
1602 1602
        f.write(' ESP VALUES AND GRID POINT COORDINATES. #POINTS =   {}\n'.format(len(self.esp_values)))
1603 1603
        for i in range(len(self.esp_values)):
1604 -
            f.write(' {} {} {} {}\n'.format(res_pot[i].magnitude, self.positions[i][0].magnitude, self.positions[i][1].magnitude, self.positions[i][2].magnitude))
1604 +
            try:
1605 +
                f.write(' {} {} {} {}\n'.format(res_pot[i].magnitude, self.positions[i][0].magnitude, self.positions[i][1].magnitude, self.positions[i][2].magnitude))
1606 +
            except: # Difference between python 3.6 and 3.7
1607 +
                f.write(' {} {} {} {}\n'.format(res_pot[i], self.positions[i][0].magnitude, self.positions[i][1].magnitude, self.positions[i][2].magnitude))
1605 1608
        f.close()
1606 1609
1607 1610
# =============================================================================================
Files Coverage
resppol 93.71%
Project Totals (2 files) 93.71%
267.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
267.2
TRAVIS_OS_NAME=osx
267.1
TRAVIS_OS_NAME=osx
267.4
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
266.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
266.1
TRAVIS_OS_NAME=osx
266.2
TRAVIS_OS_NAME=osx
266.4
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
268.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
268.1
TRAVIS_OS_NAME=osx
261.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
262.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
263.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
276.4
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
276.2
TRAVIS_OS_NAME=osx
275.4
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
275.2
TRAVIS_OS_NAME=osx
276.1
TRAVIS_OS_NAME=osx
276.3
TRAVIS_PYTHON_VERSION=3.6
TRAVIS_OS_NAME=linux
274.4
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux