fitbenchmarking.utils.misc module

Miscellaneous functions and utilities used in fitting benchmarking.

fitbenchmarking.utils.misc.get_css(options, working_directory)

Returns the path of the local css folder

Parameters:

working_directory (string) – location of current directory

Returns:

A dictionary containing relative links to the local css directory

Return type:

dict of strings

fitbenchmarking.utils.misc.get_js(options, working_directory)

Returns the path of the local js folder

Parameters:

working_directory (string) – location of current directory

Returns:

A dictionary containing relative links to the local js directory

Return type:

dict of strings

fitbenchmarking.utils.misc.get_problem_files(data_dir)

Gets all the problem definition files from the specified problem set directory.

Parameters:

data_dir (str) – directory containing the problems

Returns:

array containing of paths to the problems e.g. In NIST we would have [low_difficulty/file1.txt, …, …]

Return type:

list of str