Skip to content

fix: skip image enrichment without pages#3875

Open
DebadityaHait wants to merge 1 commit into
docling-project:mainfrom
DebadityaHait:fix/simplepipeline-chart-enrichment
Open

fix: skip image enrichment without pages#3875
DebadityaHait wants to merge 1 commit into
docling-project:mainfrom
DebadityaHait:fix/simplepipeline-chart-enrichment

Conversation

@DebadityaHait

Copy link
Copy Markdown

Issue resolved by this Pull Request:
Resolves #3867

Description

Skip image enrichment for native charts that have neither an embedded image nor page images, preventing SimplePipeline from indexing an empty page list. The chart remains in the converted document.

Checklist:

  • Documentation has been updated, if necessary.
  • Examples have been added, if necessary.
  • Tests have been added, if necessary.

Tests:

  • uv run pytest tests/test_backend_pptx.py -q
  • uv run ruff format --check docling/models/base_model.py tests/test_backend_pptx.py
  • uv run ruff check docling/models/base_model.py tests/test_backend_pptx.py

Signed-off-by: debaditya <debaditya2005hait@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

DCO Check Passed

Thanks @DebadityaHait, all your commits are properly signed off. 🎉

@mergify

mergify Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 Merge protection satisfied — ready to merge.

Show 1 satisfied protection

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

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.

IndexError in prepare_element for PictureItem with non-empty prov but no embedded image (charts in PPTX)

1 participant