sanitize_name

psi4.driver.sanitize_name(name)[source]

Function to return name in coded form, stripped of :rtype: str

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.

Parameters:

name (str) –

Return type:

str