Skip to content

add volume generator test#44

Merged
sameeul merged 2 commits intoPolusAI:mainfrom
vjaganat90:dev4
Feb 23, 2026
Merged

add volume generator test#44
sameeul merged 2 commits intoPolusAI:mainfrom
vjaganat90:dev4

Conversation

@vjaganat90
Copy link
Member

No description provided.

Copy link

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 adds a new test for the VolumeGenerator functionality and updates the test data repository structure to organize image files into 2D and 3D subdirectories.

Changes:

  • Added test_volume_generator.py with a parameterized test that validates volume generation output
  • Updated existing tests to reference the new 2D subdirectory structure in the test data repository
  • Enhanced the git clone command to explicitly specify branch and use single-branch clone

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
tests/python/test_volume_generator.py New test file validating VolumeGenerator creates proper zarr output structure
tests/python/test_single_image.py Updated test data path to include 2D subdirectory
tests/python/multi_images.py Updated test data path to include 2D subdirectory
tests/python/io_utils.py Added branch specification to git clone and introduced double-slash typo in repo URL

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dataclass(frozen=True)
class PolusTestDataRepo:
repo_url: str = "https://github.com/sameeul/polus-test-data.git"
repo_url: str = "https://github.com/sameeul//polus-test-data.git"
Copy link

Copilot AI Feb 23, 2026

Choose a reason for hiding this comment

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

The URL contains a double slash ('//') between the username and repository name. This should be a single slash: 'https://github.com/sameeul/polus-test-data.git'.

Suggested change
repo_url: str = "https://github.com/sameeul//polus-test-data.git"
repo_url: str = "https://github.com/sameeul/polus-test-data.git"

Copilot uses AI. Check for mistakes.
@sameeul sameeul merged commit d463c4d into PolusAI:main Feb 23, 2026
20 checks passed
@vjaganat90 vjaganat90 deleted the dev4 branch February 24, 2026 15:24
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.

3 participants