$ funannotate2 install -d merops
[Aug 03 11:51 AM] Python v3.13.14; funannotate2 v26.6.21; gfftk v26.5.22; buscolite v26.6.21; annorefine v2026.2.22
<frozen genericpath>:51: RuntimeWarning: bool is used as a file descriptor
Traceback (most recent call last):
File "/mnt/apps/users/pcock/conda/envs/funannotate2/bin/funannotate2", line 6, in <module>
sys.exit(main())
~~~~^^
File "/mnt/apps/users/pcock/conda/envs/funannotate2/lib/python3.13/site-packages/funannotate2/__main__.py", line 22, in main
install(args)
~~~~~~~^^^^^^
File "/mnt/apps/users/pcock/conda/envs/funannotate2/lib/python3.13/site-packages/funannotate2/install.py", line 47, in install
os.makedirs(env["FUNANNOTATE2_DB"])
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 213, in makedirs
File "<frozen posixpath>", line 103, in split
TypeError: expected str, bytes or os.PathLike object, not bool
Dependencies installed with conda and funannotate with pip as per full log on #82.
Initially I wondered if this was a Python version problem, but rather in https://github.com/nextgenusfs/funannotate2/blob/main/funannotate2/config.py dictionary entry
env["FUNANNOTATE2_DB"]is set to False if the environment variable is not set. Pull request to follow.(I needed to setup
$FUNANNOTATE2_DBjust like I had previously setup$FUNANNOTATE_DBfor v1)