Skip to content

Commit

Permalink
Make reference://path syntax work!
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Sep 10, 2024
1 parent b847f40 commit 7b45854
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This still relies on an experimental branch of Zarr.jl to read most Kerchunk fil

```julia
]
add Kerchunk Zarr#as/filters
add Kerchunk Zarr#as/filters ZarrDatasets#as/dataset_from_store
```

## Quick start
Expand Down
4 changes: 4 additions & 0 deletions src/Kerchunk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@ include("materialize.jl")

export ReferenceStore

function __init__()
push!(Zarr.storageregexlist, r"^reference://"=>ReferenceStore)
end

end
2 changes: 0 additions & 2 deletions src/referencestore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ end

# The actual Zarr store API implementation follows.

push!(Zarr.storageregexlist,r"^reference://"=>ReferenceStore)

function Zarr.storefromstring(::Type{<: ReferenceStore}, url, _)

# Parse the resolved string as a URI
Expand Down

0 comments on commit 7b45854

Please sign in to comment.