Skip to content

Commit 7db9d2f

Browse files
authored
Merge pull request #44 from braingram/fix_tags
fix tags to use asdf-format instead of example project
2 parents 4015d49 + 298e9e0 commit 7db9d2f

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33

44
- added changelog [#36]
55
- pin zarr to < 3 until the 3.x API is stable [#43]
6+
- fix tags to use ``asdf-format.org`` instead of ``example-project`` [#44]

asdf_zarr/converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
class ZarrConverter(asdf.extension.Converter):
14-
tags = ["asdf://stsci.edu/example-project/tags/zarr-*"]
14+
tags = ["asdf://asdf-format.org/zarr/tags/zarr-*"]
1515
types = ["zarr.core.Array"]
1616

1717
def to_yaml_tree(self, obj, tag, ctx):

asdf_zarr/extensions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55

66
class ZarrExtension(asdf.extension.Extension):
7-
extension_uri = "asdf://stsci.edu/example-project/tags/zarr-1.0.0"
8-
tags = ["asdf://stsci.edu/example-project/tags/zarr-1.0.0"]
7+
extension_uri = "asdf://asdf-format.org/zarr/tags/zarr-1.0.0"
8+
tags = ["asdf://asdf-format.org/zarr/tags/zarr-1.0.0"]
99
converters = [ZarrConverter()]
1010

1111

notebooks/ASDF_array_storage_intro.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,9 +927,9 @@
927927
" software: !core/software-1.0.0 {name: asdf, version: 3.0.0.dev307+gb0c9a50}\n",
928928
" - !core/extension_metadata-1.0.0\n",
929929
" extension_class: asdf_zarr.extensions.ZarrExtension\n",
930-
" extension_uri: asdf://stsci.edu/example-project/tags/zarr-1.0.0\n",
930+
" extension_uri: asdf://asdf-format.org/zarr/tags/zarr-1.0.0\n",
931931
" software: !core/software-1.0.0 {name: asdf-zarr, version: 0.0.1}\n",
932-
"arr: !<asdf://stsci.edu/example-project/tags/zarr-1.0.0>\n",
932+
"arr: !<asdf://asdf-format.org/zarr/tags/zarr-1.0.0>\n",
933933
" .zarray:\n",
934934
" chunks: [1, 512, 1024]\n",
935935
" compressor: null\n",

0 commit comments

Comments
 (0)