trident-project / trident

A Synthetic Spectral Generation Suite
Other
21 stars 25 forks source link

Explicitly load LightRayDataset to avoid hint kwarg #187

Closed chummels closed 2 years ago

chummels commented 2 years ago

The tests are failing because of a short-sighted change I made to use the "hint" kwarg in the load() command. Basically, yt has some ambiguity when we load the LightRay datasets, and it gets upset, so I had previously added the "hint" kwarg to load to tell load that the datasets were LightRays. But "hint" wasn't implemented until last year (2021), which is after the changeset of our yt gold standard (2018), so the tests against the yt gold standard fail because they try to use the "hint" functionality that doesn't yet exist.

This change fixes all of that, by explicitly loading the LightRay datasets instead of messing with "load" or "hint" or any of that.