-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I'm not sure we should do anything about this, but just thought I'd flag up the problem of using a lambda function. Maybe we could allow binding of a lambda function as a tuple element, the other element being a name. Or maybe we just restrict to named functions?
from scipp_widgets.widgets import ProcessWidget
sum = lambda x,dim:sc.sum(x, dim)
ProcessWidget(sum, [data_input, dimension_input])
Subsequent button called 'lambda'
Metadata
Metadata
Assignees
Labels
No labels