I am currently working on updating a dataset on openneuro (OpenNeuro) but at any time I am trying to delete derivatives files using the website (either by the single delete or the bulk delete), the files keep coming back in my draft.
Has anyone already faced this issue or would have some advices on how to proceed to delete files?
It is indeed quite a big list of files as we improving the organization of naming of some of our non-compliant derivatives in derivatives/cartool-v3.8.0 and derivatives/eeglab-v14.1.1 to make them more BIDS-ish. For instance files were initially put in derivatives/cartool-v3.8.0/sub-XX and derivatives/eeglab-v14.1.1/sub-XX and we moved them to derivatives/cartool-v3.8.0/sub-XX/eeg and derivatives/eeglab-v14.1.1/sub-XX/eeg, but also a number of those files have been renamed. Moreover, as we now include raw EEG data with all descriptors (i.e. _eeg.json, _events.tsv/.json, _channel.tsv, electrodes.tsv), the _eeg.json and _events.tsv files were removed from derivatives/eeglab-v14.1.1/sub-XX/eeg
Would there be a way to permanently delete these two folders such that we can re-upload a brand new version of them?
I guess this would indeed be the easier way.
thank you for your message. Yep - the solution is under development. I agree with the easier approach and will be feasible once the solution has been deployed.
I apologize for the delay in resolving this bug. We have recently deployed a potential patch to resolve this - which folders were you attempting to delete? The derivatives/cartool-v3.8.0 and derivatives/eeglab-v14.1.1 folders?
I am also experiencing this issue after updating a dataset that we want to make public soon (ds003592). I accidentally added some duplicates that need to be deleted.
Is there a way to implement the patch on my end or should I list the files here?
thank you for your messages. This appears to be a bug a few of us are encountering. There is a GitHub issue documenting this. That issue will help track the progress we make in resolving this.
quick update: we were able to remove the derivatives folders, but unfortunately the operation removed all the folders rather than the selected few. Perhaps maybe better to re-upload those folders to have a clean upload.
Good news! It appears the delete function is restored! I went ahead and tested it on the sub-01 files and they did not come back after refreshing the page. Perhaps may try removing the other files on your side to test our solution?
Currently facing the same problem:
I am trying to update a non-published dataset in OpenNeuro (ds006347) and I can’t seem to be able to delete any derivatives file or folder (via the GUI using delete or bulk delete). I can upload some files (I have edit permissions) but I can’t delete anything in the derivatives folder. This is the case for both myself and the dataset owner.