Skip to content

Reduce WAZP original code to metadata functionality#1

Merged
sfmig merged 35 commits intomainfrom
smg/metadata-only
Sep 18, 2025
Merged

Reduce WAZP original code to metadata functionality#1
sfmig merged 35 commits intomainfrom
smg/metadata-only

Conversation

@sfmig
Copy link
Copy Markdown
Member

@sfmig sfmig commented Nov 24, 2024

Summary

This PR modernizes the beekeeper application by transforming it from the legacy WAZP codebase into a focused, streamlined tool for video metadata management in animal behaviour experiments.

Key Changes:
Major codebase restructuring: Renamed package from wazp to beekeeper and removed ~3,000 lines of legacy code
Simplified application focus: Eliminated pose estimation, ROI management, and dashboard features to focus solely on metadata management
Modernized technical stack: Updated deprecated Dash API calls, pandas methods, and removed obsolete dependencies
Enhanced testing infrastructure: Updated test fixtures, improved integration tests, and modernized CI configuration
Documentation overhaul: Comprehensive README with user workflows, updated project structure, and developer guidance

Test Plan

  • Verify application launches successfully with start-beekeeper
  • Confirm metadata table functionality (view, edit, sort, pagination)
  • Test project configuration upload and processing
  • Validate spreadsheet import for CSV/Excel files
  • Verify export functionality for YAML metadata files
  • Confirm missing video detection works correctly
  • Check responsive UI and Bootstrap theming
  • Run full test suite with pytest
  • Validate CI/CD pipeline with updated configuration

🤖 Generated with Claude Code

sfmig and others added 6 commits November 24, 2024 17:25
This commit modernizes the beekeeper application by removing legacy
WAZP functionality and focusing specifically on video metadata management.

Key changes:
- Fix obsolete Dash API (app.run_server -> app.run)
- Remove unused DLC/pose estimation code (~200 lines)
- Update deprecated pandas method (applymap -> map)
- Remove legacy dependencies (tables, blosc2, h5py references)
- Add proper error handling for missing configurations
- Update test fixtures to use tmp_path instead of external data
- Modernize documentation with current functionality
- Add comprehensive user and developer workflow guides

The application now provides a clean, focused interface for managing
video metadata through YAML files, spreadsheet imports, and interactive
table editing.

🤖 Generated with Claude Code (claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…d appears first.

- Add integration tests to verify that the key field is consistently the first column in the metadata table.
- Update unit tests to confirm that the metadata table creation respects the specified column order based on the key field.
- Add module docstrings to all core beekeeper modules
- Fix mypy type errors with proper type annotations and ignores
- Update pre-commit hooks to use latest ruff (v0.12.11) and mypy (v1.17.1)
- Fix ruff configuration format (tool.ruff.lint section)
- Resolve SIM210 warnings (unnecessary True/False expressions)
- Add missing function docstrings and parameter descriptions
- Fix numerous docstring formatting issues (D205, D417, D400, D415)
- Apply comprehensive code formatting with ruff and black
- Fix codespell errors (doesn't, triggered)
- Add noqa: C901 comment for complex function
- Fix wheel dependency issue for check-manifest
- Fix RST documentation formatting issues

All pre-commit checks now pass: mypy, ruff, black, check-manifest, codespell.
Reduced linting errors from 54 to 0 in core codebase.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@sfmig sfmig force-pushed the smg/metadata-only branch from c222dbe to 18e3cdf Compare September 8, 2025 12:46
@sfmig sfmig force-pushed the smg/metadata-only branch from 18e3cdf to ce8c419 Compare September 8, 2025 12:55
sfmig and others added 4 commits September 8, 2025 15:17
- Consolidated overlapping "Quick Start" and "Getting Started" sections into single "Getting Started" section
- Removed redundant instructions and streamlined installation steps
- Updated badges to match movement repository style: kept License, CI, Ruff, and pre-commit badges
- Maintained clear "Core Operations" section as requested

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
…ation to point to the new repository at sfmig/beekeeper.
@sfmig sfmig marked this pull request as ready for review September 12, 2025 14:24
Copy link
Copy Markdown
Member Author

@sfmig sfmig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@claude please read the comments in this PR and take the necessary actions, addressing each comment in a separate commit.

@claude
Copy link
Copy Markdown

claude bot commented Sep 17, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@claude
Copy link
Copy Markdown

claude bot commented Sep 17, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

1 similar comment
@claude
Copy link
Copy Markdown

claude bot commented Sep 17, 2025

Claude encountered an error —— View job


I'll analyze this and get back to you.

@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 17, 2025
@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 17, 2025
@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 17, 2025
@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 18, 2025
sfmig and others added 2 commits September 18, 2025 10:27
- Removed types-attrs as attrs is not used in the codebase
- Removed types-requests as requests module is not used
- Removed attrs from additional_dependencies as it's not needed

Co-authored-by: sfmig <sfmig@users.noreply.github.com>
@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 18, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 18, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

sfmig and others added 2 commits September 18, 2025 10:36
Since Events and ROIs columns are no longer part of the metadata functionality
after the WAZP to beekeeper transformation, all columns can now be editable.

Co-authored-by: sfmig <sfmig@users.noreply.github.com>
@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 18, 2025
- Update requires-python to >=3.11.0
- Update Python version classifiers to 3.11, 3.12, 3.13
- Remove Python 3.9 and 3.10 support per SPEC0 guidelines

Co-authored-by: sfmig <sfmig@users.noreply.github.com>
@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 18, 2025
github-actions bot and others added 4 commits September 18, 2025 10:20
No usage of PIL/Pillow found in the codebase, and black is not needed as the project uses ruff for formatting.

Co-authored-by: sfmig <sfmig@users.noreply.github.com>
@neuroinformatics-unit neuroinformatics-unit deleted a comment from claude bot Sep 18, 2025
@sfmig sfmig merged commit 0ae1b6c into main Sep 18, 2025
32 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant