The pyedb.generic.general_methods library#

Summary#

deprecate_argument_name

Decorator to deprecate certain argument names in favor of new ones.

execution_timer

installed_ansys_em_versions

Scan environment variables and return a dict

get_filename_without_extension

Get the filename without its extension.

Module detail#

general_methods.installed_ansys_em_versions() Dict[str, str]#

Scan environment variables and return a dict {version: installation_path} for every ANSYS EM release found. Versions are ordered from oldest → latest (latest appears last).

general_methods.get_filename_without_extension(path)#

Get the filename without its extension.

Parameters:
pathstr

Path for the file.

Returns:
str

Name for the file, excluding its extension.