20 lines
303 B
Python
20 lines
303 B
Python
temp = 25.0
|
|
|
|
set_exec_pars(name = "temp_"+str(temp), persist = False)
|
|
|
|
path="/tst"
|
|
|
|
data1d = [1.0, 2.0, 3.0, 4.0, 5.0]
|
|
|
|
|
|
save_dataset(path, data1d)
|
|
|
|
set_attribute(path, "Temperature", temp)
|
|
|
|
|
|
read =load_data(path)
|
|
print read.tolist()
|
|
assert data1d==read.tolist()
|
|
plot(read)
|
|
|
|
exec_pars = get_exec_pars() |