davidebolo1993 / VISOR

VarIant SimulatOR for short, long and linked reads
GNU Lesser General Public License v3.0
41 stars 11 forks source link

'Namespace' object has no attribute 'func' #7

Closed biozzq closed 4 years ago

biozzq commented 4 years ago

Dear @davidebolo1993

After installing VISOR, it's OK when running VISOR --help, however it gives me following error when running VISOR. Does this affect the results?

Traceback (most recent call last):
  File "VISOR", line 11, in <module>
    load_entry_point('VISOR==1.0', 'console_scripts', 'VISOR')()
  File "/lib/python3.7/site-packages/VISOR-1.0-py3.7.egg/VISOR/VISOR.py", line 142, in main
    args.func(parser, args)
AttributeError: 'Namespace' object has no attribute 'func'

Thanks, Zheng zhuqing

davidebolo1993 commented 4 years ago

Hi @biozzq,

This is only because you called VISOR with no arguments. VISOR will work just fine if you provide the required subcommands with their parameters.

Best,

Davide