Conversation
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 6. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v4...v6) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…/upload-artifact-5 Bump actions/upload-artifact from 4 to 5
…/download-artifact-6 Bump actions/download-artifact from 4 to 6
…/checkout-6 Bump actions/checkout from 4 to 6
…/setup-python-6 Bump actions/setup-python from 5 to 6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@v5...v6) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v6...v7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…/upload-artifact-6 Bump actions/upload-artifact from 5 to 6
…/download-artifact-7 Bump actions/download-artifact from 6 to 7
Sync dev with stable
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses NaN value issues in the computation of lh_holes, rh_holes, and cc_size metrics that occurred with FastSurfer versions >= 2.3.0 due to changes in logging and output formats. The fix involves computing hole counts directly from surface mesh files rather than parsing log files, and improving the pattern matching for intracranial volume extraction.
Changes:
- Computation of hemisphere holes now uses direct mesh analysis via lapy's TriaMesh instead of log file parsing
- Corpus callosum size calculation updated with more specific pattern matching for intracranial volume and improved NaN handling
- Version bumped from 2.1.4 to 2.1.5
- GitHub Actions dependencies updated and Dependabot configuration enabled for automated dependency management
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| fsqc/checkTopology.py | Adds direct computation of lh_holes and rh_holes from surface files using TriaMesh.euler() instead of parsing log files |
| fsqc/checkCCSize.py | Improves pattern matching for intracranial volume extraction and adds proper NaN handling when volume is missing |
| VERSION | Version bump from 2.1.4 to 2.1.5 |
| .github/workflows/publish.yml | Updates actions/checkout to v6 and actions/setup-python to v6 |
| .github/workflows/doc.yml | Updates actions to v6/v7 and configures artifact upload/download |
| .github/workflows/code-style.yml | Updates actions/checkout to v6 and actions/setup-python to v6 |
| .github/workflows/build.yml | Updates actions/checkout to v6 and actions/setup-python to v6 |
| .github/dependabot.yml | Configures Dependabot for automated GitHub Actions updates |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes issues in the computation of lh_holes and rh_holes as well as cc_size, which were returned as NaN for FastSurfer versions >= 2.3.0 due to logigng and output format differences.