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

CSV reader bug: "quotechar" must be a 1-character string #27

Open
EmanuelaBoros opened this issue Jun 4, 2024 · 0 comments
Open

CSV reader bug: "quotechar" must be a 1-character string #27

EmanuelaBoros opened this issue Jun 4, 2024 · 0 comments

Comments

@EmanuelaBoros
Copy link
Contributor

    csvreader = csv.DictReader(csvfile, delimiter="\t", quoting=csv.QUOTE_NONE, quotechar="")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "python3.11/csv.py", line 86, in __init__
    self.reader = reader(f, dialect, *args, **kwds)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: "quotechar" must be a 1-character string

This error raises at line 134 in hipe_evaluation/utils.py

  • Python 3.11
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

No branches or pull requests

1 participant