The boost library + python seems to have a Problem, Everything works fine until the first function uses the boos library... my guess.
# -*- coding: utf-8 -*-
import numpy as np
import graph_tool.all as gt
import graph_tool.topology as gt_topo
G = gt.Graph()
G_sub = gt.Graph()
#Decleration of needed properties
v_prop_entity = G.new_vertex_property("string")
v_prop_globalName = G.new_vertex_property('string')
e_prop_type = G.new_edge_property('string')
#gt_topo.subgraph_isomorphism()
v1 = G.add_vertex()
v2 = G.add_vertex()
v3 = G_sub.add_vertex()
e1 = G.add_edge(v1, v2)
#v_prop_entity[v1] = 'car'
#make internal property maps
G.vertex_properties['type'] = v_prop_entity
G.vertex_properties['globalName'] = v_prop_globalName
G.edge_properties['type'] = e_prop_type
G_sub.vertex_properties['type'] = v_prop_entity
G_sub.vertex_properties['globalName'] = v_prop_globalName
G_sub.edge_properties['type'] = e_prop_type
#write/change internal property maps
G.vertex_properties['type'][v1] = 'Car'
G.vertex_properties['type'][v2] = 'T-Crossing'
G_sub.vertex_properties['type'][v1] = 'Car'
#gt_topo.subgraph_isomorphism(G_sub, G, (G_sub.vertex_properties['type'], \
# G.vertex_properties['type']) )
print gt_topo.subgraph_isomorphism(G_sub, G)
The problem occurs, when using the subgraph_isomorphism function...