Skip to content

Allow passing kwargs to image reader/writer#2939

Open
GFabien wants to merge 4 commits intoMIC-DKFZ:masterfrom
GFabien:feat.reader_writer_with_kwargs
Open

Allow passing kwargs to image reader/writer#2939
GFabien wants to merge 4 commits intoMIC-DKFZ:masterfrom
GFabien:feat.reader_writer_with_kwargs

Conversation

@GFabien
Copy link
Copy Markdown

@GFabien GFabien commented Nov 12, 2025

Hi,
Thanks for the great repository, it is super useful!
I started adding new image reader writers to try stuff with my data and I found it practical to allow passing kwargs to my new image reader writers instead of creating many classes. Here is a small PR to implement that. Tell me if it's okay for you. The idea is just to add an optional key to the dataset.json called "image_reader_writer_kwargs" and store the kwargs there.
Thank you,
Fabien

@FabianIsensee FabianIsensee self-assigned this Nov 12, 2025
@GFabien
Copy link
Copy Markdown
Author

GFabien commented Jan 27, 2026

Hey @FabianIsensee, what do you think? Is it ok to merge this?

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.

2 participants