Hapflk local_reynolds Python script
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
• 1,309 views
•
link
0 answers
No answers yet.
Log in to answer this question.
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
myficdoesn't exist (the list is empty). So the question is, why is it empty - which we can't say from that snippet alone.