Closed yushangdi closed 5 years ago
In the original code, if in the constructor we write g = nx.Graph() and we run code
g = nx.Graph()
import TILES_exp as t tl = t.TILES("data/original/gen_simple.tsv", ttl = 7, obs = 10) tl = t.TILES("data/original/gen_simple.tsv", ttl = 7, obs = 10)
we will get different result. The reason is that python will not actually create a new graph object, it will continue to use the previous graph.
Coverage decreased (-0.2%) to 96.026% when pulling 19b1c5fb8d514bef9a957067387efe8d7ec36965 on yushangdi:master into b66352a34dfb6cc47df1e2d70a288af9e9caa386 on GiulioRossetti:master.
In the original code, if in the constructor we write
g = nx.Graph()
and we run codewe will get different result. The reason is that python will not actually create a new graph object, it will continue to use the previous graph.