Skip to content

feat(normalize_batch_template): add normalize_batch_template function…#397

Merged
fangliu117 merged 2 commits intodevfrom
template_normalize_batch
Aug 4, 2025
Merged

feat(normalize_batch_template): add normalize_batch_template function…#397
fangliu117 merged 2 commits intodevfrom
template_normalize_batch

Conversation

@fangliu117
Copy link
Collaborator

…and unit tests

Copilot AI review requested due to automatic review settings August 4, 2025 17:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new normalize_batch_template function to the SPAC package, providing platform-agnostic batch normalization functionality converted from NIDAP. The implementation includes comprehensive unit tests and follows the established template pattern.

  • Adds a new normalize_batch_template module with run_from_json function for batch normalization workflows
  • Implements comprehensive unit tests covering various I/O scenarios and parameter configurations
  • Provides CLI interface and flexible save/return options for different workflow needs

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/spac/templates/normalize_batch_template.py Main template implementation with batch normalization logic and parameter handling
tests/templates/test_normalize_batch_template.py Comprehensive unit tests covering I/O workflows, parameter validation, and function calls

@fangliu117 fangliu117 merged commit 525d749 into dev Aug 4, 2025
11 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.

2 participants