File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ def background_structure(self) -> Structure:
277
277
@cached_property
278
278
def all_structures (self ) -> List [Structure ]:
279
279
"""List of all structures in the simulation including the background."""
280
- return [self .background_structure ] + list ( self .sorted_structures )
280
+ return [self .background_structure ] + self .sorted_structures
281
281
282
282
@staticmethod
283
283
def intersecting_media (
@@ -1812,7 +1812,7 @@ def doping_bounds(self):
1812
1812
acceptors_lims = [1e50 , - 1e50 ]
1813
1813
donors_lims = [1e50 , - 1e50 ]
1814
1814
1815
- for struct in [ self .background_structure ] + list ( self . sorted_structures ) :
1815
+ for struct in self .all_structures :
1816
1816
if isinstance (struct .medium .charge , SemiconductorMedium ):
1817
1817
electric_spec = struct .medium .charge
1818
1818
for doping , limits in zip (
You can’t perform that action at this time.
0 commit comments