nanoQC icon indicating copy to clipboard operation
nanoQC copied to clipboard

nanoPlot and nanoQC TypeError

Open DaniPaulo opened this issue 10 months ago • 3 comments

I'm trying to use nanoPlot and/or nanoQC but getting the following error (both using pip and conda for installation). Can you help me?

Traceback (most recent call last):
  File "/home/daniel.paulo/.local/lib/python3.9/site-packages/Bio/File.py", line 72, in as_handle
    with open(handleish, mode, **kwargs) as fp:
TypeError: expected str, bytes or os.PathLike object, not TextIOWrapper

DaniPaulo avatar Apr 08 '24 23:04 DaniPaulo

Which command are you trying? Could it be that your Biopython version is outdated?

wdecoster avatar Apr 09 '24 07:04 wdecoster

Hi, thank you for the response. It turned out that I had some corrupted fastq.gz files. All it's good now. Thank you again, - Dani.

DaniPaulo avatar Apr 09 '24 22:04 DaniPaulo

Thanks for the feedback!

wdecoster avatar Apr 10 '24 05:04 wdecoster