Whole corpus
Instructions to update sparse_code csv files
Before
Backup everything! See First, backup everything!
Make sure you have blabpy installed and upgraded.
Make sure you have
Fas-Phyc-PEB-Labmounted.Change to an empty folder.
In the terminal, run
python/IPythonand then the line below. Keep the python console open afterwards.
from blabpy.seedlings.pipeline import make_updated_basic_level_files, scatter_updated_basic_level_filesCreate updated sparse_code.csv's
Run
make_updated_basic_level_files().Once it finishes, examine the output. If everything ran as expected, there will be a message starting with
The annotations have been exported and merged with existing basic level data.
Edit basic_level column (where necessary) and move files to pn_opus
Run
scatter_updated_basic_level_files()The output will tell you whether there are any files that need their basic_level column to be updated. If there are, go to the next step.Update the annotations in individual files under
with_basic_level_audio_annotationsandwith_basic_level_audio_annotations, not in the csvs with just the missing ones using the instructions in Fixing FIXMEs.GOTO 1.
After
Backup sparse_code csv, see instructions in Last, backup sparse_code.csv's
Last updated