I used nxmetis.partition(G, 8) to partition the PPI dataset, but an error occurred:
File "</home/ubuntu/profile/metis/lib/python2.7/site-packages/decorator.pyc:decorator-gen-678>", line 2, in partition File "build/bdist.linux-x86_64/egg/nxmetis/__init__.py", line 90, in _convert_exceptions IndexError: tuple index out of range
It depends on the number of partitions. I've tried 2 to 7 and they worked well.
What might be the problem? Thank you.
I used
nxmetis.partition(G, 8)
to partition the PPI dataset, but an error occurred:File "</home/ubuntu/profile/metis/lib/python2.7/site-packages/decorator.pyc:decorator-gen-678>", line 2, in partition File "build/bdist.linux-x86_64/egg/nxmetis/__init__.py", line 90, in _convert_exceptions IndexError: tuple index out of range
It depends on the number of partitions. I've tried 2 to 7 and they worked well. What might be the problem? Thank you.