rafaqz / DimensionalData.jl

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

dims on nothing should just return nothing #485

Closed rafaqz closed 1 year ago

rafaqz commented 1 year ago

This currently errors, now it will return nothing instead.

codecov-commenter commented 1 year ago

Codecov Report

Merging #485 (3def79f) into main (05d595d) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #485      +/-   ##
==========================================
+ Coverage   89.50%   89.51%   +0.01%     
==========================================
  Files          39       39              
  Lines        2753     2756       +3     
==========================================
+ Hits         2464     2467       +3     
  Misses        289      289              
Impacted Files Coverage Δ
src/Dimensions/dimension.jl 88.42% <ø> (-0.10%) :arrow_down:
src/Dimensions/primitives.jl 93.42% <100.00%> (+0.11%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more