archetypal.utils.check_unique_name(first_letters, count, name, unique_list, suffix=False)[source]

Making sure new_name does not already exist

  • first_letters (str) – string at the beginning of the name, giving a hint on what the variable is.

  • count (int) – increment to create a unique id in the name.

  • name (str) – name that was just created. To be verified that it is unique in this function.

  • unique_list (list) – list where unique names are stored.

  • suffix (bool) –


name that is unique

Return type

new_name (str)