Following #5250, accessing field_info automatically triggers the creation of the index if it isn't already created. We still have a few places where we still manually trigger it before accessing field_info, see e.g.
While not incorrect, this is not necessary anymore and should be removed.
Following #5250, accessing
field_infoautomatically triggers the creation of theindexif it isn't already created. We still have a few places where we still manually trigger it before accessingfield_info, see e.g.yt/yt/visualization/volume_rendering/tests/test_composite.py
Line 49 in 82ac140
While not incorrect, this is not necessary anymore and should be removed.