Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mbsantiago committed Jul 16, 2023
1 parent 6d605a8 commit 3edd64c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/user_guide/1_saving_and_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
# %%
# The [`load_dataset`][soundevent.io.load_dataset] function allows you to
# access and analyze the dataset, which contains recordings and related
# objects, all structured in a standardized and manageable way.
# objects, all structured in a standardized and manageable way.

recording = dataset.recordings[0]
print(f"First recording: {recording!r}")
Expand All @@ -70,7 +70,7 @@
#
# Similar to loading datasets, you can use the
# [`load_annotation_project`][soundevent.io.load_annotation_project] function
# to load annotations stored in the **AOEF** format.
# to load annotations stored in the **AOEF** format.
#
# Here we have transformed 10 random annotated recordings from the
# [NIPS4BPlus](https://doi.org/10.7717%2Fpeerj-cs.223) dataset into the
Expand Down
4 changes: 3 additions & 1 deletion tests/test_io/test_annotation_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@ def test_recording_paths_are_stored_as_relative_if_audio_dir_is_provided(

def test_can_parse_nips4plus(tmp_path: Path):
"""Test that NIPS4BPlus annotations can be parsed."""
original_path = BASE_DIR / "docs" / "examples" / "nips4b_plus_aoef.json"
original_path = (
BASE_DIR / "docs" / "user_guide" / "nips4b_plus_sample.json"
)
path = tmp_path / "test.json"

# Act
Expand Down

0 comments on commit 3edd64c

Please sign in to comment.