Skip to content

Commit

Permalink
Fix restoring Gosh and Hartree Slater GOS: subshell_factor was miss…
Browse files Browse the repository at this point in the history
…ing from the `whitelist` and therefore its value wasn't restored
  • Loading branch information
ericpre committed Mar 17, 2024
1 parent eb65577 commit 9d06fab
Show file tree
Hide file tree
Showing 7 changed files with 4,181 additions and 22 deletions.
1 change: 1 addition & 0 deletions exspy/misc/eels/gosh_gos.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class GoshGOS(TabulatedGOS):
"qaxis": None,
"element": None,
"subshell": None,
"subshell_factor": None,
}

def __init__(self, element_subshell, gos_file_path=None):
Expand Down
1 change: 1 addition & 0 deletions exspy/misc/eels/hartree_slater_gos.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class HartreeSlaterGOS(TabulatedGOS):
"qaxis": None,
"element": None,
"subshell": None,
"subshell_factor": None,
}

def read_elements(self):
Expand Down
Loading

0 comments on commit 9d06fab

Please sign in to comment.