ResSimpy.Nexus.nexus_file_operations.check_token

ResSimpy.Nexus.nexus_file_operations.check_token(token: str, line: str) bool[source]

Checks if the text line contains the supplied token and is not commented out :param token: keyword value to search the line for :type token: str :param line: string to search the token in :type line: str

Returns:

bool – True if the text line contains the supplied token, False otherwise.