modified source to comply with the changes in spim_data
https://github.com/tpietzsch/spimdata/commit/1f3b67b1d5409d6133a947bbb49824f661f36782