Skip to content

Commit

Permalink
Change dtype of ElementIdentifiers and DynamicTableRegion to int32 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Jan 16, 2025
1 parent b33c8f8 commit 31215f4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion common/namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespaces:
- doc: data types for different types of sparse matrices
source: sparse.yaml
title: Sparse data types
version: 1.8.0
version: 1.9.0-alpha

- name: hdmf-experimental
doc: Experimental data structures provided by HDMF. These are not guaranteed to be available in the future.
Expand Down
5 changes: 2 additions & 3 deletions common/table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ datasets:
- data_type_def: ElementIdentifiers
data_type_inc: Data
default_name: element_id
dtype: int
dtype: int32
dims:
- num_elements
shape:
Expand All @@ -70,7 +70,7 @@ datasets:

- data_type_def: DynamicTableRegion
data_type_inc: VectorData
dtype: int
dtype: int32
doc: DynamicTableRegion provides a link from one table to an index or region of another. The `table` attribute is a
link to another `DynamicTable`, indicating which table is referenced, and the data is int(s) indicating the row(s)
(0-indexed) of the target array. `DynamicTableRegion`s can be used to associate rows with repeated meta-data without
Expand Down Expand Up @@ -128,7 +128,6 @@ groups:
datasets:
- name: id
data_type_inc: ElementIdentifiers
dtype: int
dims:
- num_rows
shape:
Expand Down
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def setup(app):
# built documents.
#
# The short X.Y version.
version = 'v1.8.0'
version = 'v1.9.0'
# The full version, including alpha/beta/rc tags.
release = 'v1.8.0'
release = 'v1.9.0-alpha'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 6 additions & 0 deletions docs/source/hdmf_common_release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
hdmf-common Release Notes
=========================

1.9.0 (Upcoming)
----------------------
- Change the dtype of `ElementIdentifiers` and `DynamicTableRegion` from "int" to "int32". Under HDMF
schema language 2.x, "int" means "int32" so this change has no functional impact, except when displaying the
spec, such as in error messages.

1.8.0 (August 4, 2023)
----------------------
- No change in the hdmf-common namespace. See :ref:`here <hdmf_experimental_release_notes>` for changes to the
Expand Down

0 comments on commit 31215f4

Please sign in to comment.