update_loc_names_repl_dict

pyrcs.utils.update_loc_names_repl_dict(new_items, regex, verbose=False)

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, defaults to False