Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
총 바꾼 것
path_to_file_list: 쓰기->읽기로 변경 완료
train_file_list_to_json : replace 같은 것 대체하는 코드 수정. templete start 수정. templete 순서 오는 거 수정
write_file_list: 읽기->쓰기로 변경 완료
main 저 세개의 함수 순서 바뀐 것 수정
그중 첫번째 구체적으로 설명
틀린 이유: 파일을 읽어서 list로 변환하는 것이지만 여기서는 쓰는 코드가 들어가 있습니다.
with open(path, 'r') as file: #쓰는게 아니라 읽어야 하는 코드.
lines = file.readlines()
return [line.strip() for line in lines] 이것을 파일을 읽고, 리스트로 반환하는 코드로 바꾸어주어야합니다.