Hapflk local_reynolds Python script
0
0
Entering edit mode
2.7 years ago

Hi all,

I am trying to construct HapFLK local population trees using the local_reynolds.py script available on the HapFLK website. However, this script does not want to continue analysis because I keep receiving this error

  File "local_reynolds.py", line 132, in main

     my_pops=get_pop_names(myfic[0])

IndexError: list index out of range

Has anyone else received this error and how have you got around it?

Best, James

HapFLK Python Debug • 669 views
ADD COMMENT
0
Entering edit mode

We'll need to see more of the code, and how you're calling it to say whats wrong.

The error is fairly self explanatory, the zero-th element of the list myfic doesn't exist (the list is empty). So the question is, why is it empty - which we can't say from that snippet alone.

ADD REPLY

Login before adding your answer.

Traffic: 1489 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6