wdecoster / NanoPlot

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

Timezone-aware issue when processing fastq rich data #329

Closed matinnuhamunada closed 1 year ago

matinnuhamunada commented 1 year ago

Hi, I get the same error as in your test when processing fastq rich data from MinION: https://github.com/wdecoster/NanoPlot/actions/runs/4730941669/jobs/8395274479

TypeError: Cannot use .astype to convert from timezone-aware dtype to timezone-naive dtype. Use obj.tz_localize(None) or obj.tz_convert('UTC').tz_localize(None) instead.

Might have some thing to do with this? https://numpy.org/doc/stable/release/1.11.0-notes.html#datetime64-changes

Tries to fix the problem with this PR: https://github.com/wdecoster/nanoget/pull/29