Skip to content

Commit

Permalink
Correction for Na to NA
Browse files Browse the repository at this point in the history
Small typo lead to continual exceptions being raised
  • Loading branch information
timsnow committed Sep 19, 2023
1 parent db16caa commit 6029972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sas/sascalc/calculator/sas_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ def read(self, path):
sld_n.append(val)
atom = formula(atom_name)
# # cm to A units
vol = 1.0e+24 * atom.mass / atom.density / Na
vol = 1.0e+24 * atom.mass / atom.density / NA
vol_pix.append(vol)
atom_value_dict[atom_name] = [val, vol]

Expand Down

0 comments on commit 6029972

Please sign in to comment.