Skip to content

Commit

Permalink
Update src/ZGroup.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 29e2781 commit 0fbed31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ZGroup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@ function zgroup(s::AbstractStore, path::String=""; attrs=Dict(); indent_json::Bo
isemptysub(s, path) || error("Store is not empty")
b = IOBuffer()

if !indent_json
JSON.print(b,d)
else
if indent_json
JSON.print(b,d,4)
else
JSON.print(b,d)
end

s[path,".zgroup"]=take!(b)
Expand Down

0 comments on commit 0fbed31

Please sign in to comment.