Skip to content

Error while runnnig the script but standalone works fine #8

@francescapinton

Description

@francescapinton

Running the script gave me the error

File "./annotate_blast_hits.py", line 81, in get out.write(handle.read()) TypeError: write() argument must be str, not byte

Putting the argument of write in double quotation marks solved it, but then gave this error:

File "/.local/lib/python3.8/site-packages/Bio/Entrez/Parser.py", line 379, in parse raise TypeError("file should be opened in binary mode") TypeError: file should be opened in binary mode

The standalone file worked great for me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions