> For the complete documentation index, see [llms.txt](https://gitbook.bergelsonlab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.bergelsonlab.com/data-pipeline/basic-levels/update-sparse_code.csvs/get-sparse_code_csv-for-one-file.md).

# One recording

Getting new sparse\_code.csv after updating annotations and adding annotids.

## Prerequisites:

* You have blabpy installed and upgraded.
* `Fas-Phyc-PEB-Lab` is mounted.

## Steps

1. Change into an empty folder (or any folder where you won't overwrite any files)

2. In python/IPython, run:
   * For audio:

     ```python
     from blabpy.seedlings.pipeline import export_and_add_basic_level_audio
     export_and_add_basic_level_audio(23, 6)
     ```
   * For video:

     ```python
     from blabpy.seedlings.pipeline import export_and_add_basic_level_video
     export_and_add_basic_level_video(8, 12)
     ```

3. The command above should have created a sparse\_code.csv file in the folder you are working in. Check the file for FIXMEs in the basic\_level column. If there are any, update them using the instructions in [Fixing FIXMEs](/data-pipeline/basic-levels/update-sparse_code.csvs/fixing-fixmes.md).

4. Copy the new sparse\_code.csv file to Subject\_Files.
