You need to sign in or sign up before continuing.
Unverified Commit 7d9eac49 authored by Matheus Felipe's avatar Matheus Felipe
Browse files

Change sections -> columns in error message

parent e0468d13
...@@ -234,7 +234,7 @@ def check_file_format(lines: List[str]) -> List[str]: ...@@ -234,7 +234,7 @@ def check_file_format(lines: List[str]) -> List[str]:
num_in_category += 1 num_in_category += 1
segments = line_content.split('|')[1:-1] segments = line_content.split('|')[1:-1]
if len(segments) < num_segments: if len(segments) < num_segments:
err_msg = error_message(line_num, f'entry does not have all the required sections (have {len(segments)}, need {num_segments})') err_msg = error_message(line_num, f'entry does not have all the required columns (have {len(segments)}, need {num_segments})')
err_msgs.append(err_msg) err_msgs.append(err_msg)
continue continue
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment