From 807bce7615659942719261414e0eedc361a847ce Mon Sep 17 00:00:00 2001 From: Britton Smith Date: Mon, 22 May 2023 16:53:31 +0100 Subject: [PATCH] Remove validate_index_order call as that is now handled elsewhere. --- ytree/yt_frontend/data_structures.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ytree/yt_frontend/data_structures.py b/ytree/yt_frontend/data_structures.py index d26bd607..95257127 100644 --- a/ytree/yt_frontend/data_structures.py +++ b/ytree/yt_frontend/data_structures.py @@ -20,8 +20,7 @@ import os from yt.data_objects.static_output import \ - ParticleFile, \ - validate_index_order + ParticleFile from yt.frontends.ytdata.data_structures import \ SavedDataset from yt.geometry.particle_geometry_handler import \ @@ -161,7 +160,7 @@ def __init__(self, filename, dataset_type="ytree_arbor", index_order=None, units_override=None, unit_system="cgs"): self._prefix = filename[:filename.rfind(self._suffix)] - self.index_order = validate_index_order(index_order) + self.index_order = index_order super().__init__(filename, dataset_type, units_override=units_override, unit_system=unit_system)