Skip to content

Fix Clean task to drop COLMAP metadata instead of whitelist#12

Open
jlegrand62 wants to merge 1 commit into
devfrom
hotfix/clean_task
Open

Fix Clean task to drop COLMAP metadata instead of whitelist#12
jlegrand62 wants to merge 1 commit into
devfrom
hotfix/clean_task

Conversation

@jlegrand62

Copy link
Copy Markdown
Member

Implemented the following changes to the Clean task:

  • Added COLMAP_MD list in romitask/task.py to specify metadata added by the Colmap task.
  • Removed the legacy IMAGES_MD whitelist and the keep_metadata Luigi parameter.
  • Deleted the _merge_metadata_keep_list helper used for whitelist merging.
  • Updated _clean_images_metadata to drop blacklisted keys (COLMAP_MD) rather than retaining a whitelist.
  • Adjusted the run method to use the new blacklist approach and removed the now‑unused whitelist generation logic.

- Introduce `COLMAP_MD` in `romitask/src/romitask/task.py` as the list of metadata added by the Colmap task
- Remove the legacy `IMAGES_MD` whitelist and the `keep_metadata` luigi parameter from `Clean`
- Delete the `_merge_metadata_keep_list` helper used for whitelist merging
- Update `_clean_images_metadata` to drop blacklisted keys (`COLMAP_MD`) instead of retaining a whitelist
- Adjust the `run` method to use the new blacklist approach and remove the now‑unused metadata whitelist generation
@jlegrand62 jlegrand62 self-assigned this Jun 12, 2026
@jlegrand62 jlegrand62 added the bug Something isn't working label Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant