id3c.tests.test_write_flyscan_data#
Tests for id3c.utils.flyscan_3idc_analysis.write_flyscan_data.
Verifies the on-disk /entry/flyscan_data layout, the virtual
dataset selection, the provenance attributes, and idempotency.
Synthetic AD file + a hand-built paired DataFrame; no IOC, no catalog.
Functions#
|
All datasets and group attributes are present and correct. |
The virtual 'data' maps frame_index into the source stack. |
|
|
Writing twice replaces the group without error. |
|
No n_frames_expected attribute when the argument is None. |
Module Contents#
- id3c.tests.test_write_flyscan_data.test_writes_expected_layout(tmp_path)[source]#
All datasets and group attributes are present and correct.
- id3c.tests.test_write_flyscan_data.test_virtual_dataset_selects_correct_frames(tmp_path)[source]#
The virtual ‘data’ maps frame_index into the source stack.