def setUp(self): self.graphs = get_gnp_series() self.tmp_root = os.getcwd() + "/lntk/tests/tmp/"
def setUp(self): from lntk.datasets.generated import get_gnp_series self.graphs = get_gnp_series(l=5) self.tmp_root = os.getcwd() + "/lntk/tests/tmp/"
from lntk.visual_utils import graph_sequence_to_gif from lntk.datasets.generated import get_gnp_series graphs = get_gnp_series() graph_sequence_to_gif("test.gif", graphs)