This commit is contained in:
2020-10-12 18:03:27 +02:00
parent 1a6056e8b7
commit 88990832f1
33 changed files with 5872 additions and 167 deletions

8
script/test/TestBool.py Normal file
View File

@@ -0,0 +1,8 @@
#Creating a 1D dataset from an array
path="group/data1"
data1d = [True, False, False, True, True, False, False]
save_dataset(path, data1d, 'z')
read =load_data(path)
print read.tolist()
assert data1d==read.tolist()