Skip to content

fix: file open mode fixed to w#1379

Open
ketsapiwiq wants to merge 1 commit intonlplab:masterfrom
ketsapiwiq:fix-conllXtostandoff-file-mode
Open

fix: file open mode fixed to w#1379
ketsapiwiq wants to merge 1 commit intonlplab:masterfrom
ketsapiwiq:fix-conllXtostandoff-file-mode

Conversation

@ketsapiwiq
Copy link
Copy Markdown

conllXtostandoff.py was using an incorrect mode to create output files.
It resulted in:

python3 tools/conllXtostandoff.py -o test data/UD_Turkish-IMST/tr_imst-ud-test.conllu
Writing output to test
Error processing data/UD_Turkish-IMST/tr_imst-ud-test.conllu: b"can't have text and binary mode at once"

##############################################################################
#
# WARNING: error in processing 1/1 files, output is incomplete!
#
##############################################################################

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant