Fixes the index for getting the principal quantum number in all-electron calculations.
Description
Fixes the index for getting the principal quantum number in all-electron calculations.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.