ResSimpy.Nexus.nexus_file_operations.table_line_reader
- ResSimpy.Nexus.nexus_file_operations.table_line_reader(keyword_store: dict[str, None | int | float | str], headers: list[str], line: str) tuple[bool, dict[str, None | int | float | str]][source]
Reads in a line from a nexus table with a given set of headers and populates each of those values into a corresponding dictionary.
- Parameters:
keyword_store (dict[str, None | int | float | str]) – place to store the value from the given column
headers (list[str]) – list of headers to read values into
line (str) – line to read the data from.
- Returns:
tuple[bool, dict[str, None | int | float | str]] – a dictionary with the found set of objects and lines