Skip to content

Commit

Permalink
Remove validate_index_order call as that is now handled elsewhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
brittonsmith committed May 22, 2023
1 parent 520d950 commit 807bce7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ytree/yt_frontend/data_structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 807bce7

Please sign in to comment.