cyrxnopt_analysis.utilities namespace

Submodules

cyrxnopt_analysis.utilities.get_files module

cyrxnopt_analysis.utilities.get_files.get_files(directory: str, pattern: str = '*', recursive: bool = False) List[str][source]

Helper function to get all files in a directory that match a given pattern.

Parameters:
  • directory (str) – Directory to search for files in.

  • pattern (str, optional) – Regex pattern that result files must match. Defaults to r”*” for all files.

  • recursive (bool, optional) – Whether to find files recursively in subdirectories (True) or not (False). Defaults to “False”.

Returns:

List of matching files joined with the given directory path.

Return type:

List[str]

cyrxnopt_analysis.utilities.optima_table module