virtualcell / vcell

Virtual Cell Framework
http://vcell.org/
Other
66 stars 20 forks source link

Invalid Indexing N5 Export #1145

Closed AvocadoMoon closed 7 months ago

AvocadoMoon commented 7 months ago

Problem

When exporting an N5 file with a time range that does not start at 0 an indexing error occurs only when using the ImageJ plugin. The reason why this error is raised is because the N5 reader library expects for the dataset which represents the export to have the first file be named 0, however right now the file names are relative to their index within the entire time array so they won't start at 0.

Solution

Normalize the exports to have their time index start at 0.