Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing all leaf types #183

Closed
3 tasks
YooSunYoung opened this issue Sep 16, 2024 · 0 comments · Fixed by #188
Closed
3 tasks

Listing all leaf types #183

YooSunYoung opened this issue Sep 16, 2024 · 0 comments · Fixed by #188
Assignees

Comments

@YooSunYoung
Copy link
Member

Context

I removed a leaf type to remove unnecessary step in a workflow and then user (Christian in this case) had no idea which type to visualize/compute.

It'll be easier for users if there is an interface in sciline as well to list all the leaf nodes,
and then it can be used for visualization without any type specified,
and for workflow widgets.

Related Issues

Implementation Examples

There is an example already in essreduce.
https://github.com/scipp/essreduce/blob/aef4a3c1094dd15f1849aedc74e9960e1b922de3/src/ess/reduce/workflow.py#L52-L57

TODO

  • Implement an interface that list all leaf nodes in the workflow
  • Use the interface for visualize without any arguments
  • Include the leaf nodes as examples in the KeyError or NoProviderFound error message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants