Skip to content

Conversation

@nvaytet
Copy link
Member

@nvaytet nvaytet commented Nov 28, 2024

No description provided.

@SimonHeybrock
Copy link
Member

Can we now remove some hard-coded hack like

# TODO This does not work with multiple
workflow[sans.types.PixelMaskFilename] = data.loki_tutorial_mask_filenames()[0]
?

@nvaytet
Copy link
Member Author

nvaytet commented Dec 16, 2024

Needs scipp/essreduce#156

Comment on lines 125 to 131
workflow = LokiAtLarmorWorkflow()
# TODO This does not work with multiple
workflow[sans.types.PixelMaskFilename] = data.loki_tutorial_mask_filenames()[0]

workflow[sans.types.Filename[sans.types.SampleRun]] = (
data.loki_tutorial_sample_run_60339()
)
workflow[sans.types.Filename[sans.types.BackgroundRun]] = (
data.loki_tutorial_background_run_60393()
)
workflow[sans.types.Filename[sans.types.TransmissionRun[sans.types.SampleRun]]] = (
workflow[PixelMaskFilename] = data.loki_tutorial_mask_filenames()
workflow[Filename[SampleRun]] = data.loki_tutorial_sample_run_60339()
workflow[Filename[BackgroundRun]] = data.loki_tutorial_background_run_60393()
workflow[Filename[TransmissionRun[SampleRun]]] = (
data.loki_tutorial_sample_transmission_run()
Copy link
Member

Choose a reason for hiding this comment

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

The ISIS workflows may need similar changes?

Copy link
Member Author

Choose a reason for hiding this comment

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

I searched but could not find a place to update.

@nvaytet nvaytet merged commit 37fd8c3 into main Jan 24, 2025
4 checks passed
@nvaytet nvaytet deleted the use-multi-file-widget branch January 24, 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.

4 participants