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

Deserialize and run task graphs #147

Open jl-wynen opened 8 months ago

jl-wynen commented 8 months ago

Discussed in https://github.com/scipp/sciline/discussions/146

Originally posted by **jl-wynen** March 13, 2024 I experimented with deserializing JSON task graphs back into `sciline.TaskGraph` in https://gist.github.com/jl-wynen/d72588744e2813a46dd05521be4d86ba The approach works but has some non-trivial components. This is not part of the goals of [#92](https://github.com/scipp/sciline/issues/92) and #124 but it is good to know that it is possible. Should we make this part of Sciline? It could be handled by the package itself or, if we don't want to distribute it with the package, it could be a script that lives in the Sciline repo.
jl-wynen commented 8 months ago

This is the counterpart of #92