Replies: 3 comments 5 replies
-
You don't need to call Can you confirm that the following fails: const results = await Promise.all(
this.files.map(async file =>
gunzipSync(new Uint8Array(await file.arrayBuffer()))
)
);
console.log(results); If you get the results you expect then there may be an issue with your code I'm not seeing. If that also doesn't work, I'll have to see the file to debug further. |
Beta Was this translation helpful? Give feedback.
-
There are several gzipped files being decompressed.
Out of the three files, only the second one (LS2042_FDDP202663764-1a_1.clean.fq.gz) can be decompressed successfully. The other two files behave the same way as I mentioned in the main thread. All of them are valid fastq files when decompressed using the Archive Utility tool on Mac. I wonder how this issue may be derived from. |
Beta Was this translation helpful? Give feedback.
-
Appreciate the recent 0.8.0 update! I've encountered some challenges while utilizing the |
Beta Was this translation helpful? Give feedback.
-
hello,
I've been testing the AsyncGunzip with:
The files are about 6MB and AsyncGunzip outputs only the first chunk of files with a Uint8Array(65058)
After printing several empty Uint8Array, it says 'done'.
Another try without streaming stuff:
This snippet produced logs like:
It is wired no 'done' is printed.
I've also tried the synchronous gunzip function and it acts the same.
What did I do wrong please?
Beta Was this translation helpful? Give feedback.
All reactions