Skip to content

Commit

Permalink
Merge pull request #9 from GaoheHu/pol_imag-fix
Browse files Browse the repository at this point in the history
Fix: Imaginary polarizability
  • Loading branch information
GaoheHu authored Jul 17, 2024
2 parents b5cf6fd + 5563faf commit 33a903c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chemPackage/ams/polarizability.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __aoresponse(self, f, indices):
ln = f[ix+1].split()
self.e_frequencies = append(self.e_frequencies, float(ln[2]))
# Collect tensor. Different for real and complex.
if f[ix+14] ==" Imaginary Polarizability tensor:":
if f[ix+14].strip() =="IMAGINARY POLARIZABILITY":
#if 'LIFETIME' in self.subkey:
s = ix + 8
e = ix + 11
Expand Down

0 comments on commit 33a903c

Please sign in to comment.