From cc7f630f7c5139f2482f3b2f4fa81b3b2a36da3f Mon Sep 17 00:00:00 2001 From: Christine Smit Date: Thu, 17 Apr 2025 14:54:07 -0400 Subject: [PATCH 1/2] updated migration documention to say that '.' syntax is no longer allowed for variables in groups --- changes/2991.doc.rst | 1 + docs/user-guide/v3_migration.rst | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changes/2991.doc.rst diff --git a/changes/2991.doc.rst b/changes/2991.doc.rst new file mode 100644 index 0000000000..c5c1b32bcf --- /dev/null +++ b/changes/2991.doc.rst @@ -0,0 +1 @@ +Updated the 3.0 migration guide to include the removal of "." sytax for getting group members. diff --git a/docs/user-guide/v3_migration.rst b/docs/user-guide/v3_migration.rst index 678a3aafb7..a6258534e4 100644 --- a/docs/user-guide/v3_migration.rst +++ b/docs/user-guide/v3_migration.rst @@ -117,6 +117,8 @@ The Group class - Use :func:`zarr.Group.create_array` in place of :func:`zarr.Group.create_dataset` - Use :func:`zarr.Group.require_array` in place of :func:`zarr.Group.require_dataset` +3. Disallow "." syntax for getting group members. To get a member of a group named ``foo``, + use ``group["foo"]`` in place of ``group.foo``. The Store class ~~~~~~~~~~~~~~~ From d2f8d1de12da474d9a703cff50834a29b7e1d1f2 Mon Sep 17 00:00:00 2001 From: Christine Smit Date: Thu, 17 Apr 2025 15:05:46 -0400 Subject: [PATCH 2/2] fixed spelling error --- changes/2991.doc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes/2991.doc.rst b/changes/2991.doc.rst index c5c1b32bcf..828cfcdb2f 100644 --- a/changes/2991.doc.rst +++ b/changes/2991.doc.rst @@ -1 +1 @@ -Updated the 3.0 migration guide to include the removal of "." sytax for getting group members. +Updated the 3.0 migration guide to include the removal of "." syntax for getting group members.