update_loc_names_repl_dict¶
-
pyrcs.utils.
update_loc_names_repl_dict
(new_items, regex, verbose=False)[source]¶ Update the location-names replacement dictionary in the package data.
- Parameters
new_items (dict) – new items to replace
regex (bool) – whether this update is for regular-expression dictionary
verbose (bool or int) – whether to print relevant information in console as the function runs, defaults to
False
Example:
>>> from pyrcs.utils import update_loc_names_repl_dict
>>> new_items_ = {} >>> update_loc_names_repl_dict(new_items_, regex=False)