rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
269 stars 37 forks source link

allow extra dims in reorder #592

Closed rafaqz closed 6 months ago

rafaqz commented 6 months ago

Slightly annoying you cant pass a DimArray with more dims than you need as the second argument of reorder.

So we just drop any extra dimensions and reorder by the ones that match.

codecov-commenter commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (d927b77) 87.23% compared to head (9df75b6) 87.29%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #592 +/- ## ========================================== + Coverage 87.23% 87.29% +0.06% ========================================== Files 43 43 Lines 3446 3448 +2 ========================================== + Hits 3006 3010 +4 + Misses 440 438 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.