diff --git a/tdrs-backend/tdpservice/parsers/parse.py b/tdrs-backend/tdpservice/parsers/parse.py index 8b9d81f8c..8a55da6d2 100644 --- a/tdrs-backend/tdpservice/parsers/parse.py +++ b/tdrs-backend/tdpservice/parsers/parse.py @@ -31,7 +31,7 @@ def parse_datafile(datafile): field_values = schema_defs.header.get_field_values_by_names(header_line, {"encryption", "tribe_code", "state_fips"}) - # Validate submission tribe code in submission accross program type and fips code + # Validate tribe code in submission across program type and fips code tribe_is_valid, tribe_error = validators.validate_header_tribe_code(header['program_type'], field_values["tribe_code"], field_values["state_fips"], diff --git a/tdrs-backend/tdpservice/parsers/util.py b/tdrs-backend/tdpservice/parsers/util.py index e56a6382c..a3e40e0ad 100644 --- a/tdrs-backend/tdpservice/parsers/util.py +++ b/tdrs-backend/tdpservice/parsers/util.py @@ -103,14 +103,6 @@ def update_encrypted_fields(self, is_encrypted): if type(field) == TransformField and "is_encrypted" in field.kwargs: field.kwargs['is_encrypted'] = is_encrypted -def line_value_check(line, field, value, should_negate=False): - """Determine if the field in the line is or is not equal to an expected value.""" - parsed_val = field.parse_value(line) - if not should_negate: - return parsed_val == value - else: - return parsed_val != value and parsed_val is not None - def contains_encrypted_indicator(line, encryption_val): """Determine if line contains encryption indicator.""" if encryption_val is not None: