next_unique_name

PlasmaCalcs.tools.os_tools.next_unique_name(desired_name, existing_names)

return a name like desired_name but which is not in existing_names.

If desired_name is in existing_names,
Appends ā€˜_N’ where N is smallest integer>0 that produces a unique name.