0
私はbiopythonでXMLファイルを解析しようとしているときに理解できません。Biopythonスクリプトが動作していない、errortypeジェネレータを送信します
TypeError: object of type 'generator' has no len()
from Bio import SearchIO
blast_qresults=SearchIO.parse('my_file.xml', 'blast-xml')
len(blast_qresults)
or
blast_qresults.hit
AttributeError: 'generator' object has no attribute 'hit