diff --git a/pyn5/__init__.py b/pyn5/__init__.py index ac8d0da..2e608c0 100644 --- a/pyn5/__init__.py +++ b/pyn5/__init__.py @@ -39,5 +39,8 @@ "DatasetINT64", "DatasetFLOAT32", "DatasetFLOAT64", - "File" + "File", + "Group", + "Dataset", + "AttributeManager" ] diff --git a/pyn5/dataset.py b/pyn5/dataset.py index 47817f9..2c9cb46 100644 --- a/pyn5/dataset.py +++ b/pyn5/dataset.py @@ -33,7 +33,7 @@ class Dataset(DatasetBase): - def __init__(self, name: str, parent: "Group"): + def __init__(self, name: str, parent: "Group"): # noqa would need circular imports """ :param name: basename of the dataset diff --git a/pyn5/file_group.py b/pyn5/file_group.py index 28ef958..c2e609c 100644 --- a/pyn5/file_group.py +++ b/pyn5/file_group.py @@ -69,7 +69,7 @@ def _create_child_dataset( "Set chunks=True to guess reasonable chunk sizes." ) chunks = shape - elif chunks == True: + elif chunks is True: chunks = guess_chunks(shape, dtype.itemsize) dpath = self._path / name