INT-NIT / BEP032tools

Software tools supporting the BIDS Extension Proposal (BEP) dedicated to adding support for electrophysiological data recorded in animal models (BEP032)
MIT License
3 stars 8 forks source link

Creation of an additional folder #123

Closed killianrochet closed 2 years ago

killianrochet commented 2 years ago

For the use of the BEP032Generator function when I pass it my data folder as a parameter, the function recreates a data folder in the one that already exists. On the other hand if I don't have a data folder the function stops and gives me an error.

The principle would be to create a file if there is no existing one. On the other hand, if a folder already exists, then no additional folder is created We should add a test that defines the expected behaviour when creating the files so that we can implement the fix

JuliaSprenger commented 2 years ago

Hi @killianrochet Did you see #120 ? This one is also touching on file generation, maybe you can check if your tests already pass with these changes there?