Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,23 @@ To add a new file, you will need to:
8. Commit your changes using `gin commit -m <message> <filename>` for specific files or `gin commit -m <message> .` for all changes.
9. Upload your committed changes to the GIN repository with `gin upload`. Use `gin download` to pull the latest changes or `gin sync` to synchronise changes bidirectionally.

### Verifying sample data

To verify that a sample dataset can be fetched and loaded correctly:

```python
from movement import sample_data

# Fetch and load the dataset
ds = sample_data.fetch_dataset("SLEAP_three-mice_Aeon_proofread.analysis.h5")

# Verify it loaded correctly
print(ds)
```

This displays the dataset's structure (dimensions, coordinates, data variables,
and attributes), confirming the data was loaded successfully.

### `metadata.yaml` example entry
```yaml
SLEAP_three-mice_Aeon_proofread.analysis.h5:
Expand Down
1 change: 0 additions & 1 deletion movement/sample_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ def fetch_dataset_paths(filename: str, with_video: bool = False) -> dict:
>>> paths = fetch_dataset_paths("VIA_multiple-crabs_5-frames_labels.csv")
>>> bboxes_path = paths["bboxes"]


See Also
--------
fetch_dataset
Expand Down
Loading