Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Tuple index out of range #71

Open
soodoshll opened this issue Feb 15, 2020 · 1 comment
Open

Tuple index out of range #71

soodoshll opened this issue Feb 15, 2020 · 1 comment

Comments

@soodoshll
Copy link

soodoshll commented Feb 15, 2020

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.

  • python 2.7
  • networkx 2.2
@soodoshll
Copy link
Author

btw, when I use networkx 1.9.1, running the example code in the readme file also causes a 'Tuple index out of range' error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant