SunPengChuan / wgdi

WGDI: A user-friendly toolkit for evolutionary analyses of whole-genome duplications and ancestral karyotypes
https://wgdi.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
114 stars 22 forks source link

wgdi -conf ./conf.ini error #11

Closed Hua-CM closed 3 years ago

Hua-CM commented 3 years ago

It encounter the error bellow:

Traceback (most recent call last):
  File "/home/anaconda3/bin/wgdi", line 8, in <module>
    sys.exit(main())
  File "/home/anaconda3/lib/python3.7/site-packages/wgdi/run.py", line 146, in main
    module_to_run(arg, value)
  File "/home/anaconda3/lib/python3.7/site-packages/wgdi/run.py", line 107, in module_to_run
    program, conf, name = tuple(switcher.get(argument))

I have modified the row 107 in run.py and fix the problem:

if argument == 'configure':
    run_configure()
else:
    program, conf, name = tuple(switcher.get(argument))
    run_subprogram(program, conf, name)
SunPengChuan commented 3 years ago

Thank you very much, I forgot to test it here. I will modify it immediately.

SunPengChuan commented 3 years ago

done.