Skip to content

110 feature preprocessing functionality#125

Merged
MarcelRosier merged 11 commits intomainfrom
110-feature-preprocessing-functionality
Oct 30, 2025
Merged

110 feature preprocessing functionality#125
MarcelRosier merged 11 commits intomainfrom
110-feature-preprocessing-functionality

Conversation

@MarcelRosier
Copy link
Collaborator

Adds methods for preprocessing
Docs in Readme/ docs should follow in #115

Copilot AI review requested due to automatic review settings October 29, 2025 15:59
@MarcelRosier MarcelRosier linked an issue Oct 29, 2025 that may be closed by this pull request
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 migrates the project configuration from Poetry-specific format to a hybrid setup that uses both [tool.poetry] and PEP 621 [project] metadata sections. It also adds a new preprocessing module with functions for different BraTS challenge preprocessing pipelines.

  • Converts dependency declarations from [tool.poetry.dependencies] to [project] dependencies
  • Moves author format from Poetry-style strings to PEP 621 dictionary format
  • Adds comprehensive preprocessing functionality with challenge-specific pipeline selection

Reviewed Changes

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

File Description
pyproject.toml Migrates project metadata and dependencies from Poetry format to PEP 621 standard while maintaining Poetry configuration for build system
brats/preprocessing.py Introduces new preprocessing module with challenge-specific preprocessing functions that wrap brainles_preprocessing library

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

@MarcelRosier MarcelRosier self-assigned this Oct 29, 2025
@neuronflow neuronflow requested a review from Copilot October 29, 2025 16:28
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

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


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

Copy link
Contributor

@neuronflow neuronflow left a comment

Choose a reason for hiding this comment

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

Very cool work @MarcelRosier,
I love how you came up with the challenge-specific preprocessing selection in
preprocess_for_challenge!

@neuronflow
Copy link
Contributor

Should we default to install with or without preprocessing?

This option needs to be documented in the README.md

I suggest to default to installation with P but to give users the option to skip it.

Copy link
Contributor

@neuronflow neuronflow left a comment

Choose a reason for hiding this comment

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

installation options need to be documented in readme

@MarcelRosier
Copy link
Collaborator Author

Should we default to install with or without preprocessing?

This option needs to be documented in the README.md

I suggest to default to installation with P but to give users the option to skip it.

I opted for installing just the base package by default since it's a lot more lightweight (also I'm not sure how to elegantly implement the other way, feel free to suggest something if you think this is needed). Installation documentation is added to the readme

@MarcelRosier MarcelRosier merged commit c251816 into main Oct 30, 2025
7 checks passed
@MarcelRosier MarcelRosier deleted the 110-feature-preprocessing-functionality branch October 30, 2025 09:26
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.

[FEATURE] preprocessing functionality

3 participants