LAAC-LSCP / ChildProject

Python package for the management of day-long recordings of children.
https://childproject.readthedocs.io
MIT License
13 stars 5 forks source link

Mismatching columns for empty and non-empty imported annotations #90

Closed lucasgautheron closed 3 years ago

lucasgautheron commented 3 years ago

Empty:

$ cat annotations/textgrid_m1/aiku/namibie_aiku_20170315_2_9000_180.csv
annotation_file,segment_onset,segment_offset,speaker_id,speaker_type,ling_type,vcm_type,lex_type,mwu_type,addresseee,transcription

Non-empty:

$ cat annotations/textgrid_m1/aiku/namibie_aiku_20170314_1_34200_180.csv 
segment_onset,segment_offset,speaker_id,ling_type,speaker_type,vcm_type,lex_type,mwu_type,addresseee,transcription,annotation_file
180.5135625,181.36587500000002,C1,1,OCH,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
193.95112023734708,195.60078482381655,LF2P,1,NA,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
199.2771801879485,200.40837876152756,MOT*,1,FEM,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
205.0534375,206.2765,MOT*,1,FEM,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
207.5255031202958,208.87662500000002,CHI*,0,CHI,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
207.99683585928707,208.86743750000002,MOT*,1,FEM,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
209.3325,210.57206250000002,MOT*,1,FEM,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
216.99929117402044,217.841,CHI*,1,CHI,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
218.88462212998553,223.516625,MOT*,1,FEM,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
233.68447013431157,234.6073125,CHI*,1,CHI,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
233.8643125,235.353,MA1,1,MAL,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
235.70506250000003,236.8936875,LF2P,1,NA,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
236.8936875,237.64056250000002,CHI*,1,CHI,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid
238.3506642503252,239.43472955000513,CHI*,1,CHI,NA,NA,NA,NA,NA,textgrid/m1/namibie_aiku_20170314_1_34200_m1.TextGrid

I see no mismatch except for the order, which should not really matter, maybe I got unlucky. Can you show me how to reproduce @alsonicr ?