--
You received this message because you are subscribed to the Google Groups "Neuroglancer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neuroglancer+unsubscribe@googlegroups.com.
To post to this group, send email to neurog...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/neuroglancer/4ed9c5a5-9467-4b77-bb5e-a93a6fedef83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to neuroglancer...@googlegroups.com.
path = `${parameters.path}/${chunkPosition[0]}-${chunkPosition[0] + chunkDataSize[0]}_` +${chunkPosition[1]}-${chunkPosition[1] + chunkDataSize[1]}_`+`${chunkPosition[2]}-${chunkPosition[2] + chunkDataSize[2]}`;
To unsubscribe from this group and stop receiving emails from it, send an email to neuroglancer...@googlegroups.com.
1. I renamed my files as you suggested (e.g.,http://s3-eu-west-1.amazonaws.com/elasticbeanstalk-eu-west-1-945165447763/raw/112nm/1024-1536_512-1024_0-2). 1.a. With local data: the error is
XMLHttpRequest cannot load http://localhost:8085/precomputed/raw_wo_underscore/28nm/5632-6144_4096-4608_0-2. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access. The response had HTTP status code 404.
1.b With data on Amazon: the error is
Error retrieving chunk precomputed:volume:https://s3-eu-west-1.amazonaws.com/elasticbeanstalk-eu-west-1-945165447763/raw_wo_underscore//112nm:2,2,0: Error: Raw-format chunk is 412630 bytes, but 524288 * 1 = 524288 bytes are expected. 2. About your remark "The same issue should occur with serving them from localhost, though". Actually no, it was working correctly with local data with this pattern raw/112nm/1024-1536/512-1024/0-2.gz. 3. I tried to modify https://github.com/google/neuroglancer/blob/master/src/neuroglancer/datasource/precomputed/backend.ts at line 46:
path = `${parameters.path}/${chunkPosition[0]}-${chunkPosition[0] + chunkDataSize[0]}_` +${chunkPosition[1]}-${chunkPosition[1] + chunkDataSize[1]}_`+`${chunkPosition[2]}-${chunkPosition[2] + chunkDataSize[2]}`; topath = `${parameters.path}/${chunkPosition[0]}-${chunkPosition[0] + chunkDataSize[0]}/` +${chunkPosition[1]}-${chunkPosition[1] + chunkDataSize[1]}/`+`${chunkPosition[2]}-${chunkPosition[2] + chunkDataSize[2]}.gz`;I just replaced "_" with "/" and added a .gz in the end, since it was working nice with local data but :-Neuroglancer with local data does no longer work-AWS served data does not appearI got this error for both served data :
Error retrieving chunk precomputed:volume:http://localhost:8085/precomputed/raw//112nm:4,2,0: Error: Raw-format chunk is 374149 bytes, but 524288 * 1 = 524288 bytes are expected.This error appears for aws bucket served data and localhost but at least it is able to find the chunks.
Content-Encoding: gzip
To unsubscribe from this group and stop receiving emails from it, send an email to neuroglancer+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/neuroglancer/e804fcd7-69cc-4f1a-a3b7-199614ecd621%40googlegroups.com.
cd neuroglancer npm run dev-server //runs a server on localhost:8080 docker run --name neuroglancer -v /home/finch/Documents/renders/neuroglancer/precomputed:/precomputed:ro -p 8085:80 -d ylep/neuroglancer npm run build:watch
and then from the browser (Chrome ):
http://localhost:8080
and then
precomputed://http://localhost:8085/precomputed/raw .. And then everything works niceData structure : Root/raw/...nm/1024-1536/512-1024/0-2
Concerning the Content-Encoding: gzip, Thanks a lot for this suggestion. I will check it as soon as possible and let you know.
Best regards,
Tahar--
You received this message because you are subscribed to the Google Groups "Neuroglancer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neuroglancer+unsubscribe@googlegroups.com.
To post to this group, send email to neurog...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/neuroglancer/1808896a-8f6f-4c66-916e-88471025463b%40googlegroups.com.