Skip to content

Commit

Permalink
Merge pull request #181 from chummels/hint
Browse files Browse the repository at this point in the history
Adding hint kwarg upon LightRay load to break degeneracy in new yt loader
  • Loading branch information
chummels committed Feb 23, 2022
2 parents 9633aec + 9663b2a commit 9578b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trident/light_ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def make_light_ray(self, seed=None, periodic=True,

if data_filename is not None:
self._write_light_ray(data_filename, all_data)
ray_ds = load(data_filename)
ray_ds = load(data_filename, hint='YTDataLightRayDataset')

# temporary fix for yt-4.0 ytdata selection issue
ray_ds.domain_left_edge = ray_ds.domain_left_edge.to('code_length')
Expand Down

0 comments on commit 9578b94

Please sign in to comment.