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

``Pipeline`` representation improvement ideas #136

Open YooSunYoung opened 7 months ago

YooSunYoung commented 7 months ago

I came across with some problems and requirements while I was trying to use sl.Pipeline html wrapper in scipp/essnmx documentation.

~Wrong name parsing of NewType in python 3.9~ I just saw that this issue was marked as wontfix...! Sorry

Maybe it should be discussed together with https://github.com/scipp/scipp/issues/3305

SimonHeybrock commented 7 months ago

Item one is a wontfix, for the others, does Pipeline._repr_html_ not do the job for you?

YooSunYoung commented 7 months ago

It mostly do, but these ideas started only because nmx workflow has function object as a parameter. I didn't want to add instance address in the documentation... And we have __repr__ for most of important data structures, so... why not for Pipeline...? It'll make logging much easier.

jl-wynen commented 7 months ago

Item 4 should be improved by the new utils in #124