我试图运行一个python脚本,出现的错误是:python脚本问题
Traceback (most recent call last):
File "/opt/erange/geneMrnaCountsWeighted.py", line 266, in <module>
main(sys.argv)
File "/opt/erange/geneMrnaCountsWeighted.py", line 51, in main
options.extendGenome, options.replaceModels)
File "/opt/erange/geneMrnaCountsWeighted.py", line 250, in geneMrnaCountsWeighted
tagCount += tagValue/tagDenom
UnboundLocalError: local variable 'tagValue' referenced before assignment
任何人都可以帮助我吗?
局部变量 'tagValue' 引用之前分配。你在哪里定义tagValue?看,你没有。给我们一些代码以获取更多线索。 – utdemir
这个问题与biopython无关。 – HongboZhu