Skip to content

SaveImage flexible patch_index names #5508

@wyli

Description

@wyli

Describe the bug
output filename's id is hard-coded as meta_data.get(Key.PATCH_INDEX) in SaveImage

patch_index = meta_data.get(Key.PATCH_INDEX, None) if meta_data else None
filename = self.folder_layout.filename(subject=f"{subject}", idx=patch_index)

this should be flexible so that the output filename can be customizable, depending on the metadata and SaveImage._data_index.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions