Skip to content

Commit

Permalink
Merge pull request #162 from brittonsmith/ytindex
Browse files Browse the repository at this point in the history
Remove validate_index_order call as that is now handled elsewhere.
  • Loading branch information
brittonsmith authored May 23, 2023
2 parents 520d950 + 807bce7 commit 57d379f
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 57d379f

Please sign in to comment.