wdecoster / NanoPlot

Plotting scripts for long read sequencing data
http://nanoplot.bioinf.be
MIT License
413 stars 47 forks source link

AttributeError: 'bool' object has no attribute 'count' #276

Closed wdecoster closed 2 years ago

wdecoster commented 2 years ago
If you read this then NanoPlot 1.38.1 has crashed :-(
Please try updating NanoPlot and see if that helps...

If not, please report this issue at https://github.com/wdecoster/NanoPlot/issues
If you could include the log file that would be really helpful.
Thanks!

Traceback (most recent call last):
  File "/home/wdecoster/miniconda3/bin/NanoPlot", line 33, in <module>
    sys.exit(load_entry_point('NanoPlot', 'console_scripts', 'NanoPlot')())
  File "/home/wdecoster/repositories/NanoPlot/nanoplot/NanoPlot.py", line 104, in main
    plots = make_plots(datadf, settings)
  File "/home/wdecoster/repositories/NanoPlot/nanoplot/NanoPlot.py", line 151, in make_plots
    plotdict_legacy = {plot: settings["legacy"].count(plot) for plot in ["kde", "hex", "dot"]}
  File "/home/wdecoster/repositories/NanoPlot/nanoplot/NanoPlot.py", line 151, in <dictcomp>
    plotdict_legacy = {plot: settings["legacy"].count(plot) for plot in ["kde", "hex", "dot"]}
AttributeError: 'bool' object has no attribute 'count'