Hello, Fotakis.
I am using neofuse and I encountered an IndexError during the execution of the script final_out.py. The error occurs when the script attempts to access elements in a list that appears to be shorter than expected.
Error Message:
Traceback (most recent call last):
File "/usr/local/bin/source/final_out.py", line 155, in
desperation(inFile1, inFile2, outFile)
File "/usr/local/bin/source/final_out.py", line 80, in desperation
if "NA" in gene1tpm[i].split("\t")[1] or "NA" in gene2tpm[i].split("\t")[1]:
IndexError: list index out of range;
Possible Fix:
It may be helpful to add checks before accessing list elements to ensure that the length of the split results meets the expected number of elements.
I am happy to provide further details or assist in testing any fixes. Thank you for looking into this issue.
Dongqiang
Hello, Fotakis.
I am using neofuse and I encountered an IndexError during the execution of the script
final_out.py. The error occurs when the script attempts to access elements in a list that appears to be shorter than expected.Error Message:
Traceback (most recent call last):
File "/usr/local/bin/source/final_out.py", line 155, in
desperation(inFile1, inFile2, outFile)
File "/usr/local/bin/source/final_out.py", line 80, in desperation
if "NA" in gene1tpm[i].split("\t")[1] or "NA" in gene2tpm[i].split("\t")[1]:
IndexError: list index out of range;
Possible Fix:
It may be helpful to add checks before accessing list elements to ensure that the length of the split results meets the expected number of elements.
I am happy to provide further details or assist in testing any fixes. Thank you for looking into this issue.
Dongqiang