grapa.parse.parser_database.FileParserDatabase

class grapa.parse.parser_database.FileParserDatabase

Bases: object

fileContent: list of lists containing file content (imagine csv file) kwargs: useless here

__init__()

Methods

read(graph, attributes[, filecontent])

Read the file, populate Graph object

read_file_content(filename)

read the file, returns content as list of lists

Attributes

GRAPHTYPE_DATABASE

classmethod read(graph: Graph, attributes: dict, filecontent: List[List[str]] | None = None, **_kwargs)

Read the file, populate Graph object

static read_file_content(filename: str)

read the file, returns content as list of lists