View job log here
AssertionError: Validation failed for /ess/data/coda/999999/raw/coda_beer_999999_00022377.hdf:
Violations
----------
depends_on_target_missing @ /entry/instrument/MISSING_ESSCONFIG_beam_monitor_m3/depends_on (depends_on target /entry/instrument/beam_monitor_m3/transformations/translation is missing)
Shape of pixel offsets does not correspond to detector_number @ /entry/instrument/beer_detector_n2 (x_pixel_offset shape does not match detector_number and no x_pixel_offset_indices attribute found on detector or axis attribute found on x_pixel_offset)
Shape of pixel offsets does not correspond to detector_number @ /entry/instrument/beer_detector_s2 (x_pixel_offset shape does not match detector_number and no x_pixel_offset_indices attribute found on detector or axis attribute found on x_pixel_offset)
Summary
-------
depends_on_missing: 0/27
depends_on_target_missing: 1/65
float_dataset_units_missing: 0/424
group_has_units: 0/186
index_has_units: 0/117
mask_has_units: 0/0
non_numeric_dataset_has_units: 0/267
NX_class_attr_missing: 0/186
NX_class_invalid: 0/186
NX_class_is_legacy: 0/186
transformation_depends_on_missing: 0/29
transformation_offset_units_missing: 0/0
units_invalid: 0/889
NXlog_has_value: 0/111
detector_numbers are not unique: 0/2
event_id is not subset of associated detector_numbers: 0/2
Shape of pixel offsets does not correspond to detector_number: 2/2
event_index_too_small: 0/3
event_data_has_event_datasets: 0/3
NXtransformations_child_not_NX_NUMBER: 0/31
chopper_frequency_unit_invalid: 0/5
dataset_units_check: 0/889
transformation_offset_units_invalid: 0/0
transformation_value_units_invalid: 0/29
Total: 3/3639
tests/chexus/chexus_test.py:38: AssertionError
Full output
instrument = 'beer', coda_proposal_id = '999999'
pathfinder = <function pathfinder.<locals>.<lambda> at 0x7f406cb719e0>
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, skip_condition=skip_condition
)
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/999999/raw/coda_beer_999999_00022377.hdf:
E Violations
E ----------
E depends_on_target_missing @ /entry/instrument/MISSING_ESSCONFIG_beam_monitor_m3/depends_on (depends_on target /entry/instrument/beam_monitor_m3/transformations/translation is missing)
E Shape of pixel offsets does not correspond to detector_number @ /entry/instrument/beer_detector_n2 (x_pixel_offset shape does not match detector_number and no x_pixel_offset_indices attribute found on detector or axis attribute found on x_pixel_offset)
E Shape of pixel offsets does not correspond to detector_number @ /entry/instrument/beer_detector_s2 (x_pixel_offset shape does not match detector_number and no x_pixel_offset_indices attribute found on detector or axis attribute found on x_pixel_offset)
E
E
E Summary
E -------
E depends_on_missing: 0/27
E depends_on_target_missing: 1/65
E float_dataset_units_missing: 0/424
E group_has_units: 0/186
E index_has_units: 0/117
E mask_has_units: 0/0
E non_numeric_dataset_has_units: 0/267
E NX_class_attr_missing: 0/186
E NX_class_invalid: 0/186
E NX_class_is_legacy: 0/186
E transformation_depends_on_missing: 0/29
E transformation_offset_units_missing: 0/0
E units_invalid: 0/889
E NXlog_has_value: 0/111
E detector_numbers are not unique: 0/2
E event_id is not subset of associated detector_numbers: 0/2
E Shape of pixel offsets does not correspond to detector_number: 2/2
E event_index_too_small: 0/3
E event_data_has_event_datasets: 0/3
E NXtransformations_child_not_NX_NUMBER: 0/31
E chopper_frequency_unit_invalid: 0/5
E dataset_units_check: 0/889
E transformation_offset_units_invalid: 0/0
E transformation_value_units_invalid: 0/29
E
E Total: 3/3639
tests/chexus/chexus_test.py:38: AssertionError