scipp / sciline

Build scientific pipelines for your data
https://scipp.github.io/sciline/
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

Add Provider.__eq__ #178

Closed jl-wynen closed 2 months ago

jl-wynen commented 2 months ago

Fixes #176

I am not 100% confident that checking the function is enough because arg_spec gets overwritten when generic providers are specialised. However, I did not manage to find a case where this lead to a wrong result in Pipeline.__setitem__.