Skip to content

Commit

Permalink
Small improvements to gaussian module.
Browse files Browse the repository at this point in the history
  • Loading branch information
muammar committed Sep 7, 2019
1 parent 91ed153 commit 8a81605
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ml4chem/fingerprints/gaussian.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def __init__(
self.preprocessor = preprocessor
self.save_preprocessor = save_preprocessor
self.overwrite = overwrite
self.angular_type = angular_type
self.angular_type = angular_type.upper()
self.weighted = weighted

# Let's add parameters that are going to be stored in the .params json
Expand Down Expand Up @@ -600,7 +600,9 @@ def get_atomic_fingerprint(
Ri = atom.position
fingerprint = [None] * num_symmetries

n_numbers = [atomic_numbers[symbol] for symbol in n_symbols]
# See https://listserv.brown.edu/cgi-bin/wa?A2=ind1904&L=AMP-USERS&P=19048
# n_numbers = [atomic_numbers[symbol] for symbol in n_symbols]
n_numbers = [atomic_numbers[item] for item in n_symbols]

for count in range(num_symmetries):
GP = self.GP[symbol][count]
Expand Down

0 comments on commit 8a81605

Please sign in to comment.