Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Story Points:2
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
DM-32831 added a remove-runs command that prints out all datasets before confirming whether the user wants to delete them. It would be helpful if the output was 1) sorted alphabetically and 2) filtered out datatypes with zero datasets being removed, given that the list of dataset types is long and likely to keep growing.
I think this would only require changing [this line](https://github.com/lsst/daf_butler/blob/main/python/lsst/daf/butler/cli/cmd/_remove_runs.py#L57), although I suppose the datasets could be passed in pre-sorted instead.
Attachments
Issue Links
- blocks
-
DM-33658 Add FAQ entry on dataset deletion
- Done
I'm stealing this and doing it now just so I don't have to add a disclaimer about it on
DM-33658.