PointFinder fails with AttributeError: 'Config' object has no attribute 'db_panels_file'
Issue #87
resolved
Hi Rolf,
Running PointFinder ‘standalone’ (i.e. with --point
and without --acquired
) errors out with:
Traceback (most recent call last):
File "/opt/conda/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/opt/conda/lib/python3.9/site-packages/resfinder/__main__.py", line 5, in <module>
sys.exit(main())
File "/opt/conda/lib/python3.9/site-packages/resfinder/run_resfinder.py", line 472, in main
amr_panel_file=conf.db_panels_file)
AttributeError: 'Config' object has no attribute 'db_panels_file'
Passing --db-path-res
in addition to --db-path-point
doesn't resolve the issue. It does work when I add --acquired
in addition to --point
, i.e. run both ResFinder and PointFinder.
Cheers, Marco
Comments (3)
-
reporter -
reporter - changed status to resolved
Define attribute db_panels_file on Config (fixes
#87)→ <<cset a3df7eb3b589>>
-
- Log in to comment
Can add that running DisinfFinder standalone has the exact same issue, but with a twist that makes the workaround (= add
--acquired
) fail, for which I'll make yet a separate issue.The good thing is that you’ll probably be able to fix all in one swoop.