Skip to content
Snippets Groups Projects
Commit 9ca3d347 authored by Timothy Davies's avatar Timothy Davies
Browse files

Fix 1D numpy array formatting.

parent 8126d0a7
No related branches found
No related tags found
1 merge request!592Use python based fix for gstvaluearray
......@@ -111,6 +111,8 @@ def format_property(prop):
return [to_gvalue_array(row) for row in prop]
elif is_listlike(prop):
if isinstance(prop, numpy.array):
prop = prop.tolist()
return to_gvalue_array(prop)
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment