Skip to content

Store pbp peak index as a group inside the icolf file - #617

Merged
jonwright merged 1 commit into
FABLE-3DXRD:masterfrom
jonwright:jadball-portable-refactor-icolf-index
Sep 6, 2026
Merged

Store pbp peak index as a group inside the icolf file#617
jonwright merged 1 commit into
FABLE-3DXRD:masterfrom
jonwright:jadball-portable-refactor-icolf-index

Conversation

@jonwright

Copy link
Copy Markdown
Member

TEST THIS BEFORE MERGING: AI WRITTEN CODE

The voxel_mask peak index is a lookup/partition table for the icolf it accompanies, so store it as the PBPPeakIndex group in the same HDF5 file instead of a sibling _pbpindex.h5 sidecar file. The peaks group is left untouched; mmap_h5colf and colfile_from_hdf find columns by ImageD11_type, so the extra group does not confuse them.

Remove default_index_filename and the PBP.index_filename attribute / point_by_point index_filename parameter; the partition is now always read from the icolf file in the initializer, warm-up and SLURM chunk worker.

The voxel_mask peak index is a lookup/partition table for the icolf it
accompanies, so store it as the PBPPeakIndex group in the same HDF5 file
instead of a sibling _pbpindex.h5 sidecar file. The peaks group is left
untouched; mmap_h5colf and colfile_from_hdf find columns by ImageD11_type,
so the extra group does not confuse them.

Remove default_index_filename and the PBP.index_filename attribute /
point_by_point index_filename parameter; the partition is now always read
from the icolf file in the initializer, warm-up and SLURM chunk worker.
@jadball

jadball commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

seems good to me. I have something similar but not pushed. happy to merge

@jonwright
jonwright merged commit 77f3e3d into FABLE-3DXRD:master Sep 6, 2026
8 checks passed
@jonwright
jonwright deleted the jadball-portable-refactor-icolf-index branch September 6, 2026 16:52
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