Skip to content

Conversation

@nvaytet
Copy link
Member

@nvaytet nvaytet commented Jul 4, 2025

Add kwargs to workflows in case we want to use things like on-the-fly tof lookup table generation, as in

wf = time_of_flight.GenericTofWorkflow(
    tof_lut_provider=time_of_flight.TofLutProvider.TOF,
    run_types=[SampleRun],
    monitor_types=[],
)

@nvaytet nvaytet changed the title Add kwargs to workflows in case we want to use things like on-the-fly… Add kwargs to workflows Jul 4, 2025
Parameters
----------
kwargs:
Additional keyword arguments are forwarded to the base ``GenericTofWorkflow``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you turn GenericTofWorkflow into a :func: link? That would make it easier to look up the allowed params.

@nvaytet nvaytet merged commit 17055b7 into main Jul 7, 2025
4 checks passed
@nvaytet nvaytet deleted the workflow-fixes branch July 7, 2025 10:53
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 this pull request may close these issues.

3 participants