Skip to content

Update widget notebook to use essreduce (24.12) or later #194

@jokasimr

Description

@jokasimr

Tried to update the dependencies in esssans. Doing that the docs build started failing with this error: https://github.com/scipp/esssans/actions/runs/12865207885/job/35868437664?pr=193.

# In user-guide/loki/workflow-widget-loki.ipynb
AttributeError                            Traceback (most recent call last)
Cell In[2], line 18
     16 # Enable DirectBeam input
     17 pbox._input_widgets[DirectBeam].children[0].enabled = True
---> 18 pbox._input_widgets[DirectBeam].children[0].wrapped._option_box.value = None
     19 # Adjust Q range
     20 pbox._input_widgets[QBins].children[0].fields["start"].value = 0.01

AttributeError: 'Checkbox' object has no attribute 'wrapped'

The error seems so be caused by breaking changes in essreduce somewhere between v24.10.3 and v24.12.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions