Skip to content

Feat/totalseg liver lesion task#11

Merged
dmandache merged 5 commits into
mainfrom
feat/totalseg-liver_lesion-task
Apr 20, 2026
Merged

Feat/totalseg liver lesion task#11
dmandache merged 5 commits into
mainfrom
feat/totalseg-liver_lesion-task

Conversation

@dmandache
Copy link
Copy Markdown
Owner

Adds support for the liver lesion segmentation task (https://doi.org/10.1007/s10278-025-01716-y) in the TotalSegmentator workflow.

@dmandache dmandache merged commit fcaabde into main Apr 20, 2026
3 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

❌ Patch coverage is 82.60870% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/imperandi/process/segment.py 82.60% 24 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1cc784ec4b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 647 to 649
if expected_paths and all(dst.exists() for dst in expected_paths) and not force:
if verbose:
logger.info("Skip %s – files exist", task_name)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Skip no-output tasks when outputs already exist

In segment_volume, the skip-fast path only runs when expected_paths is non-empty, but tasks without declared outputs now set expected_paths to []. That makes these tasks run on every invocation even with force=False; with this commit, the generic manifest adds liver_segments without outputs, so repeated/resumed runs will re-run heavy segmentation and overwrite existing masks instead of skipping completed work. This is a significant runtime regression and breaks the expected --force behavior for those tasks.

Useful? React with 👍 / 👎.

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.

1 participant