mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-28 14:15:30 -04:00
Make bandit a mandatory test and fix some typos
This commit is contained in:
parent
370aaf701c
commit
4a7fa658bb
22 changed files with 69 additions and 69 deletions
|
|
@ -3,7 +3,7 @@ import array
|
|||
|
||||
'''
|
||||
A simple class and helper functions to read and compute with a
|
||||
Guassian cube file as produced by NWChem with the DPLOT module.
|
||||
Gaussian cube file as produced by NWChem with the DPLOT module.
|
||||
It can read the file (or tabulate any function) and then compute the
|
||||
value at an arbitrary interior point using tri-linear interpolation.
|
||||
|
||||
|
|
@ -116,7 +116,7 @@ def read_i_f_f_f(f):
|
|||
return int(line[0]), float(line[1]), float(line[2]), float(line[3])
|
||||
|
||||
def read_atom(f):
|
||||
''' Read line from Guassian cube file containing atomic info '''
|
||||
''' Read line from Gaussian cube file containing atomic info '''
|
||||
line = f.readline().lstrip().rstrip().split()
|
||||
return int(line[0]), (float(line[2]), float(line[3]), float(line[4]))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue