dandi 0.76.7__tar.gz → 0.76.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dandi-0.76.7 → dandi-0.76.8}/CHANGELOG.md +16 -0
- {dandi-0.76.7/dandi.egg-info → dandi-0.76.8}/PKG-INFO +1 -1
- {dandi-0.76.7 → dandi-0.76.8}/dandi/_version.py +3 -3
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_service_scripts.py +5 -3
- {dandi-0.76.7 → dandi-0.76.8}/dandi/dandiapi.py +18 -0
- {dandi-0.76.7 → dandi-0.76.8/dandi.egg-info}/PKG-INFO +1 -1
- {dandi-0.76.7 → dandi-0.76.8}/LICENSE +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/MANIFEST.in +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/README.md +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/bids_validator_deno/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/bids_validator_deno/_models.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/bids_validator_deno/_validator.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/base.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_delete.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_digest.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_download.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_instances.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_ls.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_move.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_organize.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_service_scripts.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_shell_completion.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_upload.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/cmd_validate.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/command.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/formatter.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/elife.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/elife.vcr.yaml +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.vcr.yaml +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/nature.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/nature.vcr.yaml +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/neuron.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/neuron.vcr.yaml +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_base.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_cmd_ls.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_cmd_validate.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_command.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_digest.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_download.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_formatter.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_instances.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_move.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/test_shell_completion.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/consts.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/dandiarchive.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/dandiset.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/delete.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/download.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/due.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/exceptions.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/files/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/files/_private.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/files/bases.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/files/bids.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/files/zarr.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/keyring_utils.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/metadata/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/metadata/core.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/metadata/nwb.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/metadata/util.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/misctypes.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/move.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/organize.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/pynwb_utils.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/pytest_plugin.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/digests.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/iterators.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/pyout.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/tests/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/tests/test_digests.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/tests/test_iterators.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/support/threaded_walk.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/dandiarchive-docker/docker-compose.yml +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/metadata/dandimeta_migration.new.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/metadata/metadata2asset.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/metadata/metadata2asset_3.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/metadata/metadata2asset_cellline.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/metadata/metadata2asset_simple1.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/array_v3_corrupt_zarr_json.zarr/c/0/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/array_v3_corrupt_zarr_json.zarr/c/0/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/array_v3_corrupt_zarr_json.zarr/c/1/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/array_v3_corrupt_zarr_json.zarr/c/1/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/array_v3_corrupt_zarr_json.zarr/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_missing_zarr_json.zarr/foo/bar/z/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_missing_zarr_json.zarr/foo/bar/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_missing_zarr_json.zarr/foo/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_missing_zarr_json.zarr/foo1/bar1/z1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_missing_zarr_json.zarr/foo1/bar1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_missing_zarr_json.zarr/foo1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_node_type_problem.zarr/foo/bar/z/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_node_type_problem.zarr/foo/bar/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_node_type_problem.zarr/foo/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_node_type_problem.zarr/foo1/bar1/z1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_node_type_problem.zarr/foo1/bar1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_node_type_problem.zarr/foo1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/arrays_in_groups_node_type_problem.zarr/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_missing_zarr_json.zarr/c/0/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_missing_zarr_json.zarr/c/0/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_missing_zarr_json.zarr/c/1/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_missing_zarr_json.zarr/c/1/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_node_type_problem.zarr/c/0/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_node_type_problem.zarr/c/0/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_node_type_problem.zarr/c/1/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_node_type_problem.zarr/c/1/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/invalid_stores/single_array_node_type_problem.zarr/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/arrays_in_groups.zarr/foo/bar/z/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/arrays_in_groups.zarr/foo/bar/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/arrays_in_groups.zarr/foo/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/arrays_in_groups.zarr/foo1/bar1/z1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/arrays_in_groups.zarr/foo1/bar1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/arrays_in_groups.zarr/foo1/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/arrays_in_groups.zarr/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/0/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/0/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/1/0 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/1/1 +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/zarr.json +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/fixtures.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/skip.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_bids_validator_deno/test_validator.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_dandiapi.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_dandiarchive.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_dandiset.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_delete.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_download.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_files.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_fixtures.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_helpers.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_helptext.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_keyring.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_metadata.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_move.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_organize.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_pynwb_utils.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_upload.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/test_utils.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/tests/xfail.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/upload.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/utils.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/_core.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/_io.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/_types.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/tests/__init__.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/tests/test_core.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/tests/test_io.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi/validate/tests/test_types.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi.egg-info/SOURCES.txt +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi.egg-info/dependency_links.txt +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi.egg-info/entry_points.txt +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi.egg-info/not-zip-safe +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi.egg-info/requires.txt +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/dandi.egg-info/top_level.txt +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/pyproject.toml +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/setup.cfg +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/setup.py +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/tox.ini +0 -0
- {dandi-0.76.7 → dandi-0.76.8}/versioneer.py +0 -0
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
# 0.76.8 (Tue Jul 28 2026)
|
|
2
|
+
|
|
3
|
+
#### 📝 Documentation
|
|
4
|
+
|
|
5
|
+
- Document validation caveats of the `get_metadata` methods [#1892](https://github.com/dandi/dandi-cli/pull/1892) ([@candleindark](https://github.com/candleindark))
|
|
6
|
+
|
|
7
|
+
#### 🧪 Tests
|
|
8
|
+
|
|
9
|
+
- Build expected metadata with the server's DANDI schema version [#1894](https://github.com/dandi/dandi-cli/pull/1894) ([@candleindark](https://github.com/candleindark))
|
|
10
|
+
|
|
11
|
+
#### Authors: 1
|
|
12
|
+
|
|
13
|
+
- Isaac To ([@candleindark](https://github.com/candleindark))
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
1
17
|
# 0.76.7 (Fri Jul 10 2026)
|
|
2
18
|
|
|
3
19
|
#### 🐛 Bug Fix
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2026-07-
|
|
11
|
+
"date": "2026-07-28T01:20:24+0000",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "0.76.
|
|
14
|
+
"full-revisionid": "38bc2ee37729652a47f65ca1a2e93f36662354f5",
|
|
15
|
+
"version": "0.76.8"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -9,7 +9,6 @@ import sys
|
|
|
9
9
|
|
|
10
10
|
import anys
|
|
11
11
|
from click.testing import CliRunner
|
|
12
|
-
from dandischema.consts import DANDI_SCHEMA_VERSION
|
|
13
12
|
from dandischema.models import ID_PATTERN
|
|
14
13
|
import pytest
|
|
15
14
|
|
|
@@ -104,18 +103,21 @@ def test_update_dandiset_from_doi(
|
|
|
104
103
|
)
|
|
105
104
|
assert r.exit_code == 0
|
|
106
105
|
metadata = new_dandiset.dandiset.get_raw_metadata()
|
|
106
|
+
# The DANDI schema version in the metadata under test is the server's,
|
|
107
|
+
# not this client's.
|
|
108
|
+
server_schema_version = new_dandiset.client.get("/info/")["schema_version"]
|
|
107
109
|
with (DATA_DIR / "update_dandiset_from_doi" / f"{name}.json").open() as fp:
|
|
108
110
|
expected = json.load(fp)
|
|
109
111
|
expected["id"] = anys.AnyFullmatch(rf"{ID_PATTERN}:{dandiset_id}/draft")
|
|
110
112
|
expected["url"] = f"{repository}/dandiset/{dandiset_id}/draft"
|
|
111
113
|
expected["@context"] = (
|
|
112
114
|
"https://raw.githubusercontent.com/dandi/schema/master/releases"
|
|
113
|
-
f"/{
|
|
115
|
+
f"/{server_schema_version}/context.json"
|
|
114
116
|
)
|
|
115
117
|
expected["identifier"] = anys.AnyFullmatch(rf"{ID_PATTERN}:{dandiset_id}")
|
|
116
118
|
expected["repository"] = repository
|
|
117
119
|
expected["dateCreated"] = anys.ANY_AWARE_DATETIME_STR
|
|
118
|
-
expected["schemaVersion"] =
|
|
120
|
+
expected["schemaVersion"] = server_schema_version
|
|
119
121
|
expected["wasGeneratedBy"][0]["id"] = anys.AnyFullmatch(
|
|
120
122
|
r"urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
|
|
121
123
|
)
|
|
@@ -1167,6 +1167,15 @@ class RemoteDandiset:
|
|
|
1167
1167
|
Only published Dandiset versions can be expected to have valid
|
|
1168
1168
|
metadata. Consider using `get_raw_metadata()` instead in order to
|
|
1169
1169
|
fetch unstructured, possibly-invalid metadata.
|
|
1170
|
+
|
|
1171
|
+
Even a published version's metadata can fail to validate. The
|
|
1172
|
+
fetched metadata is validated against the `Dandiset` model of the installed
|
|
1173
|
+
`dandischema`, not against the version of `Dandiset` model that the metadata
|
|
1174
|
+
was published under, so drift between the two can render
|
|
1175
|
+
previously-valid metadata invalid.
|
|
1176
|
+
|
|
1177
|
+
:raises pydantic.ValidationError: if the fetched metadata does not
|
|
1178
|
+
validate against `dandischema.models.Dandiset`
|
|
1170
1179
|
"""
|
|
1171
1180
|
return models.Dandiset.model_validate(self.get_raw_metadata())
|
|
1172
1181
|
|
|
@@ -1575,6 +1584,15 @@ class BaseRemoteAsset(ABC, APIBase):
|
|
|
1575
1584
|
Only assets in published Dandiset versions can be expected to have
|
|
1576
1585
|
valid metadata. Consider using `get_raw_metadata()` instead in
|
|
1577
1586
|
order to fetch unstructured, possibly-invalid metadata.
|
|
1587
|
+
|
|
1588
|
+
Even a published version's asset metadata can fail to validate. The
|
|
1589
|
+
fetched metadata is validated against the `Asset` model of the installed
|
|
1590
|
+
`dandischema`, not against the version of `Asset` model that the metadata
|
|
1591
|
+
was published under, so drift between the two can render
|
|
1592
|
+
previously-valid metadata invalid.
|
|
1593
|
+
|
|
1594
|
+
:raises pydantic.ValidationError: if the fetched metadata does not
|
|
1595
|
+
validate against `dandischema.models.Asset`
|
|
1578
1596
|
"""
|
|
1579
1597
|
return models.Asset.model_validate(self.get_raw_metadata())
|
|
1580
1598
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/biorxiv.vcr.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dandi-0.76.7 → dandi-0.76.8}/dandi/cli/tests/data/update_dandiset_from_doi/jneurosci.vcr.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/0/0
RENAMED
|
File without changes
|
{dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/0/1
RENAMED
|
File without changes
|
{dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/1/0
RENAMED
|
File without changes
|
{dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/c/1/1
RENAMED
|
File without changes
|
{dandi-0.76.7 → dandi-0.76.8}/dandi/tests/data/zarr3_stores/valid_stores/single_array.zarr/zarr.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|