openneuro
openneuro copied to clipboard
Moved file not downloadable from old version
Describe the bug
In https://openneuro.org/datasets/ds004078, the file stimuli/audios/story_1.wav exists in version 1.0.0, but has been renamed to stimuli/audio/story_1.wav in version 1.0.3. The original file (https://openneuro.org/crn/datasets/ds004078/snapshots/1.0.0/files/stimuli:audios:story_1.wav) is not downloadable through the web interface (retrieving {"error": "file not found"}). The new file (https://openneuro.org/crn/datasets/ds004078/snapshots/1.0.3/files/stimuli:audio:story_1.wav) is downloadable.
I am able to retrieve the original file through datalad:
$ datalad install https://github.com/OpenNeuroDatasets/ds004078.git
[INFO ] scanning for annexed files (this may take some time)
[INFO ] Remote origin not usable by git-annex; setting annex-ignore
[INFO ] https://github.com/OpenNeuroDatasets/ds004078.git/config download failed: Not Found
install(ok): /data/bids/ds004078 (dataset)
$ cd ds004078
$ git checkout 1.0.0
$ datalad get stimuli/audios/story_1.wav
get(ok): stimuli/audios/story_1.wav (file) [from s3-PUBLIC...]
To Reproduce Steps to reproduce the behavior:
- Go to https://doi.org/10.18112/openneuro.ds004078.v1.0.0
- Expand stimuli/audios
- Click on the download button for
story_1.wav - Inspect contents of downloaded file
Expected behavior Old versions of files should be accessible through web interface.
Notes
Moved from Freshdesk 1174.
Also seeing this in ds000228, which renamed derivatives/fmriprep to derivatives/preprocessed_data in v1.1.0.