qp.analyze.multiwfn.get_cpu_count

qp.analyze.multiwfn.get_cpu_count(settings_ini_dest_path)[source]

Reads the settings.ini file and returns the number of threads specified by the ‘nthreads=’ line.

Parameters:

settings_ini_dest_path (str) – The path to the settings.ini file.

Returns:

The number of threads specified in the settings.ini file, or 1 if not found or an error occurs.

Return type:

int