Skip to content

feat: add annotation CLI and dependency profiles#20

Merged
byemaxx merged 3 commits into
devfrom
co/feat-lightweight-cli-optional-gui
Jul 15, 2026
Merged

feat: add annotation CLI and dependency profiles#20
byemaxx merged 3 commits into
devfrom
co/feat-lightweight-cli-optional-gui

Conversation

@byemaxx

@byemaxx byemaxx commented Jul 15, 2026

Copy link
Copy Markdown
Owner

This pull request introduces a command-line interface (CLI) for annotation workflows, adds flexible installation profiles for different use cases (lightweight CLI, Analyzer, Report, and GUI), and documents the new automation and result schema contracts. It also improves error handling for missing dependencies, exposes structured annotation metrics, and updates the documentation and example usage to reflect these enhancements.

The most important changes are:

1. New Features and CLI Integration

  • Added a new annotation CLI (metax-annotate) for Qt-free, automation-friendly global and unit-specific annotation workflows, with full documentation and configuration file support. [1] [2] [3] [4]
  • Introduced a machine-readable result JSON schema (2.0) for annotation runs, detailing run status, parameters, metrics, outputs, and diagnostics.

2. Installation Profiles and Dependency Management

  • Added optional dependency profiles for Analyzer, Report, and GUI, with clear user guidance and error messages if required extras are missing. [1] .github/workflows/installation-profiles.yml [2] [3] [4]
  • Updated README.md and README_PyPi.md to describe the new installation profiles and how to use the CLI, Analyzer, Report, and GUI stacks. [1] [2] [3] [4]

3. Backend and Workflow Enhancements

  • Unified the annotation backend for both CLI and GUI, ensuring consistent results and metrics.
  • Exposed annotation run statistics and output metrics as structured data for workflow automation and reporting.

4. Documentation and Example Updates

  • Added a comprehensive CLI integration guide and updated cookbook examples to use the new CLI entry point and configuration options. [1] [2] [3] [4]
  • Updated change log to reflect these major additions.

5. Testing and Validation

  • Added GitHub Actions workflow to test all installation profiles (base, Analyzer, Report, GUI, full), ensuring that imports and CLI commands work as expected without unnecessary dependencies. (.github/workflows/installation-profiles.yml .github/workflows/installation-profiles.ymlR1-R61)

These changes make MetaX more modular, automation-ready, and user-friendly for both command-line and desktop use cases.

@byemaxx

byemaxx commented Jul 15, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5a3e21ba8a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread metax/peptide_annotator/annotation_workflow.py Outdated
@byemaxx
byemaxx merged commit e6f3ff8 into dev Jul 15, 2026
5 checks passed
@byemaxx
byemaxx deleted the co/feat-lightweight-cli-optional-gui branch July 15, 2026 01:31
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