Closed keflavich closed 2 years ago
"isinstance" started failing w/DaskSpectralCube classes, so we check for duck-like attributes or subclass.
I picked a random attribute because I wasn't sure which one(s) we use; please suggest fixes if you figure out a better match!
Coverage decreased (-81.5%) to 0.0% when pulling 45051ddbe61e7e255d11dfb99e0ef88562b76740 on keflavich:allow-other-cubetypes into a61673b38d59f395f53d0069ab6a7b7e2d3b99fd on radio-astro-tools:master.
I'm merging this as it looks safe and tests are passing.
"isinstance" started failing w/DaskSpectralCube classes, so we check for duck-like attributes or subclass.
I picked a random attribute because I wasn't sure which one(s) we use; please suggest fixes if you figure out a better match!