sanitize_name

psi4.driver.sanitize_name(name)[source]

Function to return name in coded form, stripped of characters that confuse filenames, characters into lowercase, + into p, * into s, and (, ), -, & , into _.

Also checks the sanitized name against a list of restricted C++ keywords.

Return type:

str

Parameters:

name (str) –