Skip to content

Commit

Permalink
Update src/Storage/Storage.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Anshul Singhvi <[email protected]>
  • Loading branch information
calvinchai and asinghvi17 authored Oct 10, 2024
1 parent d4c14cf commit 09b92ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Storage/Storage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ getmetadata(s::AbstractStore, p,fill_as_missing) = Metadata(String(maybecopy(s[p
function writemetadata(s::AbstractStore, p, m::Metadata; indent_json::Bool= false)
met = IOBuffer()

if !indent_json
JSON.print(met,m)
else
if indent_json
JSON.print(met,m,4)
else
JSON.print(met,m)
end

s[p,".zarray"] = take!(met)
Expand Down

0 comments on commit 09b92ea

Please sign in to comment.