functions module

functions.create_arg_string(arg_dict)

Function that creates the arg string

functions.get_arg_keys()

Function that return the list of possible keys to give in the arg string

functions.get_defaults()

Function that calls the binaryc get args function and cast it into a dictionary All the values are strings

functions.parse_output(output, selected_header)

Function that parses output of binaryc when it is construction like this: DAVID_SINGLE_ANALYSIS t=0 mass=20

You can give a ‘selected_header’ to catch any line that starts with that. Then the values will be put into a dictionary. TODO: Think about exporting to numpy array or pandas

functions.run_system(**kwargs)

Wrapper to run a system with settings

This function determines which underlying python-c api function will be called based upon the arguments that are passed via kwargs.

  • if custom_logging_code or custom_logging_dict is included in the kwargs then it will

  • if

functions.run_system_with_log(**kwargs)

Wrapper to run a system with settings AND logs the files to a designated place defined by the log_filename parameter.