None
Test: chexus|odin|run_chexus|
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
instrument = 'odin', coda_proposal_id = '999999'
pathfinder =
def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/2025/999999/raw/999999_00084827.hdf:
E Violations
E ----------
E Shape of pixel offsets does not correspond to detector_number @ /entry/instrument/event_mode_detectors/timepix3 (x_pixel_offset shape does not match detector_number and no x_pixel_offset_indices attribute found on detector or axis attribute found on {key})
E
E
E Summary
E -------
E depends_on_missing: 0/24
E depends_on_target_missing: 0/42
E float_dataset_units_missing: 0/224
E group_has_units: 0/107
E index_has_units: 0/70
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/161
E NX_class_attr_missing: 0/107
E NX_class_is_legacy: 0/107
E transformation_depends_on_missing: 0/16
E transformation_offset_units_missing: 0/2
E units_invalid: 0/455
E NXlog_has_value: 0/44
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 1/1
E chopper_frequency_unit_invalid: 0/10
E dataset_units_check: 0/455
E transformation_offset_units_invalid: 0/2
E transformation_value_units_invalid: 0/18
E
E Total: 1/1847
tests/chexus/chexus_test.py:25: AssertionError
instrument = 'odin', coda_proposal_id = '999999'
pathfinder =
def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/2025/999999/raw/999999_00084691.hdf:
E Violations
E ----------
E Shape of pixel offsets does not correspond to detector_number @ /entry/instrument/event_mode_detectors/timepix3 (x_pixel_offset shape does not match detector_number and no x_pixel_offset_indices attribute found on detector or axis attribute found on {key})
E
E
E Summary
E -------
E depends_on_missing: 0/24
E depends_on_target_missing: 0/42
E float_dataset_units_missing: 0/224
E group_has_units: 0/107
E index_has_units: 0/70
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/161
E NX_class_attr_missing: 0/107
E NX_class_is_legacy: 0/107
E transformation_depends_on_missing: 0/16
E transformation_offset_units_missing: 0/2
E units_invalid: 0/455
E NXlog_has_value: 0/44
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 1/1
E chopper_frequency_unit_invalid: 0/10
E dataset_units_check: 0/455
E transformation_offset_units_invalid: 0/2
E transformation_value_units_invalid: 0/18
E
E Total: 1/1847
tests/chexus/chexus_test.py:25: AssertionError
instrument = 'odin', coda_proposal_id = '999999'
pathfinder =
def test_run_chexus(
instrument: str,
coda_proposal_id: str | None,
pathfinder: Callable[..., Path],
) -> None:
path = pathfinder(proposal_id=coda_proposal_id, instrument=instrument)
reader = chexus.read_hdf5(path, locking=False)
group = next(reader)
validators = chexus.validators.base_validators(has_scipp=True)
results = chexus.validate(group, validators=validators)
report = chexus.report(results=results)
logging.info(report)
logging.info(chexus.make_fileinfo(path))
if chexus.has_violations(results):
> raise AssertionError(f"Validation failed for {path}: \n" + report)
E AssertionError: Validation failed for /ess/data/coda/2025/999999/raw/999999_00084551.hdf:
E Violations
E ----------
E Shape of pixel offsets does not correspond to detector_number @ /entry/instrument/event_mode_detectors/timepix3 (x_pixel_offset shape does not match detector_number and no x_pixel_offset_indices attribute found on detector or axis attribute found on {key})
E
E
E Summary
E -------
E depends_on_missing: 0/24
E depends_on_target_missing: 0/42
E float_dataset_units_missing: 0/224
E group_has_units: 0/107
E index_has_units: 0/70
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/161
E NX_class_attr_missing: 0/107
E NX_class_is_legacy: 0/107
E transformation_depends_on_missing: 0/16
E transformation_offset_units_missing: 0/2
E units_invalid: 0/455
E NXlog_has_value: 0/44
E detector_numbers are not unique: 0/1
E event_id is not subset of associated detector_numbers: 0/1
E Shape of pixel offsets does not correspond to detector_number: 1/1
E chopper_frequency_unit_invalid: 0/10
E dataset_units_check: 0/455
E transformation_offset_units_invalid: 0/2
E transformation_value_units_invalid: 0/18
E
E Total: 1/1847
tests/chexus/chexus_test.py:25: AssertionError
None
None
None