Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nixio] Special cases for annotations
Empty lists and tuples: If an annotation's value is an empty iterable, the property value is set to empty string and the definition is used to signify that the original value was an EMPTY LIST. On read, this is used to set the annotation to []. Fixes #500 Lists of strings: Multidimensional data are not supported. Lists of strings were being detected as multidimensional because strings are iterables. Items in an iterable are now checked against string types before checking if they're any other type of iterable.
- Loading branch information
1 parent
d90f14d
commit fbb8feb
Showing
1 changed file
with
21 additions
and
7 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