-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow creating references for empty archival datasets (#260)
* raise a more user-friendly error for empty variables * add a test to make sure the error is raised * create a empty manifest array instead * also allow writing empty chunk manifests * try using an annotated variable * explicitly cast instead * switch the order of `cast` arguments * use the main constructor instead * forgotten call of `ChunkManifest.empty` * explanatory comment * rename the reader test * check that concatenating works * check that stacking works with missing chunk definitions * check that broadcasting works * use empty arrays instead of 0-sized if shape given * pass the chunk grid shape for all empty chunk manifests * don't allow empty chunks if no chunk grid shape given * move `ujson` to top-level * replace the manual floor division * release note * fix a couple of changelog entries
- Loading branch information
Showing
7 changed files
with
194 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters