Startup
This commit is contained in:
8
script/test/TestBool.py
Normal file
8
script/test/TestBool.py
Normal 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()
|
||||
Reference in New Issue
Block a user