def test_list_numpy():

    filename, mode = 'test.h5', 'w'

    a = np.ones(1024)
    b = np.zeros(1000)
    c = [a, b]

    dump(c, filename, mode)
    dd_hkl = load(filename)

    print dd_hkl

    assert isinstance(dd_hkl, list)
    assert isinstance(dd_hkl[0], np.ndarray)


    os.remove(filename)
Test converting a list of numpy arrays
dataset/ETHPy150Open telegraphic/hickle/tests/test_hickle.py/test_list_numpy