Skip to content

Commit

Permalink
Fix rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
briochemc authored Sep 19, 2024
1 parent 4a85fa4 commit 775ce9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cubes/Cubes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function DD.rebuild(A::YAXArray, data::AbstractArray, dims::Tuple, refdims::Tupl
#end
YAXArray(dims, data, metadata; cleaner=A.cleaner)#, chunks=GridChunks(chunks))
end
function DD.rebuild(A::YAXArray; data=parent(A), dims=dims(A), metadata=DD.metadata(A), kw...)
function DD.rebuild(A::YAXArray; data=parent(A), dims=DD.dims(A), metadata=DD.metadata(A), kw...)

Check warning on line 203 in src/Cubes/Cubes.jl

View check run for this annotation

Codecov / codecov/patch

src/Cubes/Cubes.jl#L203

Added line #L203 was not covered by tests
YAXArray(dims, data, metadata; cleaner=A.cleaner)
end

Expand Down

0 comments on commit 775ce9c

Please sign in to comment.