remove_key
- nrv.ui.remove_key(my_dict, key, verbose=False)[source]
Remove an item from a dictionary, usefull before saving files, as some results maybe heavy and are potentially useless after some steps of postprocessing.
- Parameters:
my_dict (dictionary) – dictionary where an item should be deleted
key (str) – name of the key to delete