You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on PR #1188 I noticed that even if all images of a session are deleted for a modality the folder specific for the modality is still kept. As an example, for the ADNI subject 002_S_1261 :
I agree that we should cleanup those empty folders. Here you show an example at the modality level, but I suppose the problem could also happen at the session, or subject level.
However, we would need to make sure that the different files have consistent metadata after removal.
Ideally, this should be a generic function taking a BIDS dataset as input and doing the necessary cleaning steps. We could then have this function called at the end of each converter to post-process the generated BIDS dataset.
This issue is considered stale because it has not received further activity for the last 14 days. You may remove the inactive label or add a comment, otherwise it will be closed after the next 14 days.
@AliceJoubert is this something that you are planning to work on in the coming days / weeks or should we move it to the 0.10.0 milestone ? (no problem to do that if we have more urgent things do do)
While working on PR #1188 I noticed that even if all images of a session are deleted for a modality the folder specific for the modality is still kept. As an example, for the ADNI subject 002_S_1261 :
The files got deleted for session M096 but the fmap directory was kept. This might be something we want to clean up.
The text was updated successfully, but these errors were encountered: