nanoporetech / bonito

A PyTorch Basecaller for Oxford Nanopore Reads

Home Page:https://nanoporetech.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors using python 3.11

santanaw opened this issue · comments

Hi all. I received the next error message after running bonito --help and any other command with python 3.11 (bonito installed with pip). I went back to python 3.10 and this fixed the error. Hope this helps.

ValueError: mutable default <class 'numpy.ndarray'> for field sd_arr is not allowed: use default_factory

@santanaw this should be fixed in v0.7.2.

$ python3.11 -m bonito --help
usage: bonito [-h] [-v] {basecaller,train,evaluate,view,convert,download,export,duplex} ...

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit

subcommands:
  valid commands

  {basecaller,train,evaluate,view,convert,download,export,duplex}
                        additional help