From 004901cb780dc805b410f93a1792b6695a2010ca Mon Sep 17 00:00:00 2001 From: Sam Waseda Date: Tue, 5 Dec 2023 10:11:20 +0100 Subject: [PATCH] add comment --- pyiron_atomistics/sphinx/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyiron_atomistics/sphinx/base.py b/pyiron_atomistics/sphinx/base.py index f0fedde1d..28a9c55aa 100644 --- a/pyiron_atomistics/sphinx/base.py +++ b/pyiron_atomistics/sphinx/base.py @@ -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]