We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb2babd commit 82ac140Copy full SHA for 82ac140
yt/data_objects/static_output.py
@@ -658,15 +658,21 @@ def field_list(self):
658
@property
659
def field_info(self):
660
if self._field_info is None:
661
- self.create_field_info()
+ self.index
662
return self._field_info
663
664
@field_info.setter
665
def field_info(self, value):
666
self._field_info = value
667
668
def create_field_info(self):
669
- self.index
+ # create_field_info will be called at the end of instantiating
670
+ # the index object. This will trigger index creation, which will
671
+ # call this function again.
672
+ if self._instantiated_index is None:
673
674
+ return
675
+
676
self.field_dependencies = {}
677
self.derived_field_list = []
678
self.filtered_particle_types = []
0 commit comments