doccano icon indicating copy to clipboard operation
doccano copied to clipboard

Not importing metadata first time

Open nk-alex opened this issue 3 years ago • 0 comments

How to reproduce the behaviour

Im trying to import my dataset in JSONL format. My dataset has the following format:

{"text": "....", "meta": [{...}]}

My uploading cofiguration is the following: image

When the dataset is imported, no metadata is showing.

But, if I try to import my dataset like this: image

I'm getting "Column label not found in the file". Then, if I change the column label from "label" to "meta" and import the file again, the metadata is showing as expected.

Am I doing it wrong or it's a bug?

Your Environment

  • Operating System: Windows 11
  • Python Version Used: 3.10.4
  • When you install doccano: last version
  • How did you install doccano (Heroku button etc): pip

nk-alex avatar Aug 03 '22 09:08 nk-alex