fixed active orbital error
requested to merge 1884-error-in-results-normalizer-for-gromacs-trajectory into 1844-error-mass-density-is-nan-when-atom-types-are-not-recognized
Closes #1884 (closed)
@ndaelman this may not be the most elegant solution (please make another suggestion if you'd like), but the old code/check:
active_orbitals_run = [
param.core_hole for param in atom_params if hasattr(param, 'core_hole')
]
returns a list of None's in every case and always throws an error