Skip to content

TypeError: __init__() got an unexpected keyword argument 'required' #8

@xuebaliang

Description

@xuebaliang

hello, when I run your code "scvae train 10x-PBMC-PP --split-data-set -m GMVAE -r negative_binomial -l 100 -H 100 100 -w 200 -e 500", the error occurs like below:
Traceback (most recent call last):
File "/data/chenliang/anaconda3/envs/tensorflow/bin/scvae", line 10, in
sys.exit(main())
File "/data/chenliang/anaconda3/envs/tensorflow/lib/python3.6/site-packages/scvae/cli.py", line 697, in main
help="commands", dest="command", required=True)
File "/data/chenliang/anaconda3/envs/tensorflow/lib/python3.6/argparse.py", line 1707, in add_subparsers
action = parsers_class(option_strings=[], **kwargs)
TypeError: init() got an unexpected keyword argument 'required'

It seems to there has one bug in your cli.py file. Therefore can you tell me how i should do next? Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions