Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
16f65c80
Commit
16f65c80
authored
Jan 02, 2017
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PropertyMap.set_value(): Attempt to convert user-supplied value
parent
42d89da9
Pipeline
#239
failed with stage
in 170 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/graph_tool/__init__.py
src/graph_tool/__init__.py
+1
-0
No files found.
src/graph_tool/__init__.py
View file @
16f65c80
...
...
@@ -798,6 +798,7 @@ class PropertyMap(object):
def
set_value
(
self
,
val
):
"""Sets all values in the property map to ``val``."""
g
=
self
.
get_graph
()
val
=
self
.
__convert
(
val
)
if
self
.
key_type
()
==
"v"
:
libcore
.
set_vertex_property
(
g
.
_Graph__graph
,
_prop
(
"v"
,
g
,
self
),
val
)
elif
self
.
key_type
()
==
"e"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment