Commit 57793779 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Add missing 'raise' in group_vector_property()

This fixes issue #633
parent 9aeba521
Pipeline #559 failed with stage
in 397 minutes and 10 seconds
......@@ -1063,8 +1063,8 @@ def group_vector_property(props, value_type=None, vprop=None, pos=None):
else:
vprop = g.new_graph_property(value_type)
else:
ValueError("Can't automatically determine property map value" +
" type. Please provide the 'value_type' parameter.")
raise ValueError("Can't automatically determine property map value" +
" type. Please provide the 'value_type' parameter.")
_check_prop_vector(vprop, name="vprop", scalar=False)
for i, p in enumerate(props):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment