VervaekeLab / NANSEN

Hennestad et al. 2022
MIT License
22 stars 7 forks source link

Bug: Changes made to binary files using ImageStack interface does not get detected by Dropbox etc. #24

Closed ehennestad closed 8 months ago

ehennestad commented 8 months ago

The ImageStack / VirtualArray classes uses memory mapping in order to update data. A new file is preallocated with the final array size, but all values are 0.

When running e.g motion correction, memory mapping is used to update values of the data in file, but due to limitations in MATLAB, the "last modified" property in the file metadata does not get updated, and thus cloud services like DropBox does not register that changes have been made to the file and synching won't happen.