Esempio n. 1
0
def run():
    with open(os.path.join('examples', 'example_5', 'data.json')) as f:
        data = json.load(f)
    ssv_model = SSV.from_json(data)

    ssv_model.save_visualization(
        os.path.join('examples', 'example_5', 'example_5'))

    return True
Esempio n. 2
0
 def test_from_json(self):
     with open('tests/data/data.json') as f:
         data = json.load(f)
     SSV.from_json(data)