Hello!
I have data including 190 lines with each up to 180 points with x,y,z coordinates and I try to store it as a sparse array with tiledb.
dom = tiledb.Domain(tiledb.Dim(name="fibers", domain=(0,number_of_streamlines-1), tile=4, dtype=np.float32),
tiledb.Dim(name="points", domain=(0,max_line_length-1), tile=4, dtype=np.float32),
# tiledb.Dim(name="coords", domain=(0,2), tile=4, dtype=np.float32),
)
schema = tiledb.ArraySchema(ctx, domain=dom, sparse=True,
attrs=[tiledb.Attr(ctx, name="x", dtype=np.float32),
tiledb.Attr(ctx, name="y", dtype=np.float32),
tiledb.Attr(ctx, name="z", dtype=np.float32)])
TypeError: init() got multiple values for keyword argument ‘name’
schema = tiledb.ArraySchema(ctx, domain=dom, sparse=True,
attrs=[tiledb.Attr(ctx, name="xyz", dtype=np.dtype([("", np.float32),
("", np.float32),
("", np.float32)]))])
TypeError: init() got multiple values for keyword argument ‘name’
This is a noob questions so I really don’t know what is going on.
Please help!
Thank you so much!