dalmatian icon indicating copy to clipboard operation
dalmatian copied to clipboard

dry_run logic in delete_entity_attributes

Open bknisbac opened this issue 5 years ago • 1 comments

Hi, When running e.g. delete_sample_attributes with dry_run=True, the current logic within delete_entity_attributes dictates that dry_run mode is active only if delete_files=True.

I think it would be more intuitive and prevent accidentally deleting attributes if in such a case a message of the to-be-deleted attributes would be printed without actually deleting them from the data model.

Thank you for dalmatian - it's super useful! Binyamin

bknisbac avatar Nov 18 '19 22:11 bknisbac

The case I was alluding to is dry_run=True and delete_files=False

bknisbac avatar Nov 18 '19 22:11 bknisbac