reconhub / report_factories_templates

Templates of report factories
8 stars 8 forks source link

adding script to create data/clean if needed #29

Closed thibautjombart closed 4 years ago

thibautjombart commented 4 years ago

This adds a simple script to all factories to add a data/clean folder if it does not exist. This will work also if data/ does not exist, in which case it creates data and data/clean

thibautjombart commented 4 years ago

Poke @ffinger : lemme know if that fixes the issue you raised ;)

thibautjombart commented 4 years ago

@amygimma Adding you as reviewer for this as @ffinger may not be around / available. This should fix a reported bug on copying files to a non-existent folder. Workaround is to add a script creating the folder if it does not exist, so that we don't need to change all reports.