Skip to content

feat(setup_analysis_template): add setup_analysis_template function a…#362

Merged
fangliu117 merged 2 commits intodevfrom
template_setup_analysis
Jul 28, 2025
Merged

feat(setup_analysis_template): add setup_analysis_template function a…#362
fangliu117 merged 2 commits intodevfrom
template_setup_analysis

Conversation

@fangliu117
Copy link
Collaborator

…nd unit tests

Convert NIDAP Setup Analysis template to platform-agnostic SPAC template function

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 converts the NIDAP Setup Analysis template to a platform-agnostic SPAC template function. The main purpose is to provide a reusable template for setting up single-cell analysis with configurable parameters.

Key changes include:

  • Implementation of a new setup_analysis_template.py module with run_from_json function
  • Comprehensive unit test suite covering various input scenarios and edge cases
  • Support for both file-based and in-memory workflows through the save_results parameter

Reviewed Changes

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

File Description
src/spac/templates/setup_analysis_template.py Main template implementation with parameter parsing, data ingestion, and output handling
tests/templates/test_setup_analysis_template.py Complete unit test suite with mocking, edge case testing, and validation scenarios

@fangliu117 fangliu117 merged commit 10dc7c7 into dev Jul 28, 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