Jeremy Magland
Jeremy Magland
It's true that these versions have different implementations. I am surprised that mountainsort4.py is significantly slower. During the iterations, does it say how many channels are in each neighborhood? @rtraghavan
Strange... if they are both using ml_ms4alg (mountainsort4 repo alg is no different from ml_ms4alg alg), then I would not expect a difference in timing.
I may be experiencing this issue as well, using dat-node. "Download was cancelled" error, and I am specifying a start/end range.
Some more details... I am doing: var stream = dat.archive.createReadStream(file_path, {start:start,end:end-1}); ... The first time I do it, no problem. The second time (once the file already partially exists on...
I managed to do a workaround, by wrapping my createReadStream code in setTimeout(function() { ..... },0); not sure why that's needed, but it certainly is in my case. Update: Actually,...
I solved the problem by commenting out the following code in hyperdrive/index.js: ``` if (length > -1 && length < stat.size) { self.content.seek(byteOffset + length, {start: start, end: end}, onend)...
Will do this afternoon. Thx.
This still appears to be an issue.
Thanks for the quick reply. This is working perfectly for me now and it's a big help to my flow.
If you know the size, you can explicitly set the length attribute ``` stream['length'] = size ``` For larger files, this is better than converting to a buffer because it...