pydruglogics.utils.BNetworkUtil module
- class pydruglogics.utils.BNetworkUtil.BNetworkUtil
Bases:
object
- static bnet_string_to_dict(bnet_string: str)
- static create_equation_from_bnet(equation_str)
- static create_interaction(target: str) dict
- static get_file_extension(file_name: str) str
- static is_numeric_string(value: str) bool
- static parse_interaction(interaction: str) dict
- static read_lines_from_file(file_name: str, skip_empty_lines_and_comments: bool = True) List[str]
- static remove_extension(file_ext: str) str
- static to_bnet_format(boolean_equations)
Converts Boolean equations to the ‘.bnet’ format. :param boolean_equations: Boolean equations to be converted. :return: Boolean Equations in BNet format.