Release Notes
0.1.2 [2025-06-10]
Enhancements:
- Added brain lobe labels documentation file with detailed region mappings
- Added classification metadata to
manifest.jsonfor function, modality, organ, species, and therapeutic area - Added input file type validation requiring
niftiformat - Added
requirements-dev.txtto Docker build context via.dockerignore
Fixes:
- Fixed multiprocessing configuration by setting
threadsto1to resolvestd::bad_allocerrors - Removed unused variable
combined_subcortical_indicesinfw_gear_brain_lobe_segmentation/utils.py:200
Maintenance:
- Migrated CI configuration from
sse-qa-citoqa-ciproject with updated reference and file paths - Updated CI to use
.gitlab-runner-largerunner with3htimeout fortest:gearjob - Updated
.pre-commit-config.yamlhooks tossereference and reorganized hook execution order - Switched to
ruff_formatand simplifiedruffhook arguments to usepyproject.tomlconfiguration - Updated Dockerfile build stages to use uppercase
ASsyntax for stage naming - Added
devlayer to Dockerfile forpytestdependencies - Removed
reprozipdependency frompyproject.toml - Improved manifest descriptions with proper punctuation
- Swapped
sourceandurlfields inmanifest.jsonto correct their purposes - Added
PYTHON_SHA256environment variable tomanifest.json - Added
tests/__init__.pyfile - Reorganized import statements across test files for consistency
- Reduced nested context managers in
tests/test_utils.py:204
Documentation:
- Fixed broken hyperlink formatting in
CONTRIBUTING.md:50 - Removed trailing whitespace in
CONTRIBUTING.md:76 - Added reference to brain lobe labels documentation in
README.md
0.1.1 [2023-12-13]
Maintenance:
- Updated Docker image name from
flywheel/fw-brain-lobe-segmentationtoflywheel/brain-lobe-segmentation
0.1.0 [2023-12-13]
Enhancements:
- Added brain lobe segmentation functionality using FreeSurfer SynthSeg for segmenting brain MRI images into cortical lobes
- Added support for including white matter in lobe segmentation using nearest neighbor approach
- Added optional output of individual mask files for each brain lobe (frontal, parietal, temporal, occipital)
- Added volume computation for segmented brain regions with CSV output
- Added QC validation to ensure segmentation quality meets threshold requirements
- Added ability to output original SynthSeg parcellation alongside lobe segmentation
- Added resampling to match original image resolution after processing
- Added automatic upload of segmentation results to Flywheel parent container
Documentation:
- Added comprehensive README with usage instructions, workflow diagrams, and gear configuration details
- Added CONTRIBUTING guide with development setup, dependency management, and testing instructions
- Added citations for FreeSurfer and SynthSeg publications
Maintenance:
- Added CI/CD pipeline configuration with pre-commit hooks for code quality
- Added Apache 2.0 license
- Added project structure with
pyproject.tomlfor dependency management - Added test suite with coverage for main functionality, parser, and utility functions
- Added Docker multi-stage build to optimize image size by extracting only required FreeSurfer components
- Added
python3.10runtime environment with required dependencies (nibabel,numpy,scipy,nilearn,pandas,pyyaml)