IPS-LMU / EMU-webApp

The EMU-webApp is an online and offline web application for labeling, visualizing and correcting speech and derived speech data.
http://ips-lmu.github.io/EMU-webApp/
MIT License
51 stars 14 forks source link

Levels appear for certain files but not others #286

Closed prudenceschneider closed 3 years ago

prudenceschneider commented 4 years ago

I have my "TARGET" tier showing up for some files in my database but not others:

add_levelDefinition(emuDBhandle = AKTOM, name = "TARGET", type = "EVENT") list_levelDefinitions(AKTOM) set_levelCanvasesOrder(AKTOM, perspectiveName = "default", order = c("ORT-MAU", "KAN-MAU", "MAU", "TARGET")) fb.params= formals(wrassp::forest)

Here are two different files from the AKTOM database. The first has the target level included (and annotated with T, T1, and T2): image

In the second, the TARGET level (which should be fourth from the top) isn't showing up: image

This issue is replicated across multiple databases with no apparent pattern. The files correspond to interviews of 33 passages, and the TARGET level is missing for passages 12-33 in one interview, passages 27-33 in a second interview, passages 29-33 in a third interview, and for all 33 passages for a fourth interview.

raphywink commented 4 years ago

Ok that is strange! I just tried the following:

create_emuRdemoData("~")
ae = load_emuDB("~/emuR_demoData/ae_emuDB/")

add_levelDefinition(emuDBhandle = ae,
                    name = "TARGET",
                    type = "EVENT")
list_levelDefinitions(ae)
set_levelCanvasesOrder(ae, perspectiveName = "default",
                       order = c("Phonetic", "Tone", "TARGET"))

serve(ae)

and that then shows the TARGET level for all of the bundles in the emuDB. Can you maybe check the _annot.json files in a text editor to see if they contain the TARGET level (on bundles where the EMU-webApp doesn't show the level)

raphywink commented 3 years ago

please reopen if this is still an issue