summaryrefslogtreecommitdiff
path: root/python/test/simple_test.py
blob: e2919c629b90bc1cf590e2ee582336ad888c70b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import multired as mr
import sys


if len(sys.argv) < 2:
    print "Usage: %s <layer_list>" % sys.argv[0]
    sys.exit(1)

print "Loading layers...",
m = mr.multiplex_red(sys.argv[1], verbose=True)
print "[DONE]"

print "Getting partitons...",
part = m.compute_partitions()
print "[DONE]"

print "Partitions:..."
m.dump_partitions()

m.draw_dendrogram()