Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samwaseda committed Dec 5, 2023
1 parent e190ee1 commit 004901c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyiron_atomistics/sphinx/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2299,6 +2299,7 @@ def collect_electrostatic_potential(self, file_name, cwd):

def _get_electronic_structure_object(self):
es = ElectronicStructure()
# This line won't be necessary in the newer version of sphinx parser
if len(self.generic.dft.bands_eigen_values) == 0:
return es
eig_mat = self.generic.dft.bands_eigen_values[-1]
Expand Down

0 comments on commit 004901c

Please sign in to comment.