brainlife / ezbids

A web service for semi-automated conversion of raw imaging data to BIDS

Home Page:https://brainlife.io/ezbids

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

excluded objects actually included in the download folder

giulia-berto opened this issue · comments

Hi, I noticed that the objects that I wanted to exclude from the BIDS conversion are actually included in the final folder that I downloaded. Actually, this happened in a specific case: I first uploaded some acquisitions, converted all of them to BIDS, and then download the final folder. Then, I realized that I wanted to exclude some objects, so I hit the "Back" button, excluded the identified objects, made the conversion again, and downloaded the folder. And here's where the issue happened. Probably if I had started the process from scratch, it would have worked?!

Hi @giulia-berto, this is by design. When one or more acquisitions are set to exclude ezBIDS generates an "excluded" folder and places all exclude acquisitions in there. The "excluded" folder is added to the .bidsignore to ensure that the BIDS-validator ignores it.

The rationale for having this "excluded" folder is that users may wish to keep those acquisitions for analyses but the acquisitions aren't yet in the BIDS-specification. If however the "excluded" folder contains wholly unnecessary acquisitions (e.g. localizers, etc), you can simply delete the folder after downloading.

I see, thanks. I restarted the process from scratch and actually obtained the same directory structure. I'll just have to delete the 'exclude' folder.

I guess we can add a check box during the finalize step so user can choose if they want to create exclude folder?

I like the idea.

I've added a checkbox
image