Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: file open mode fixed to w #1379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ketsapiwiq
Copy link

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