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

Fix recursion error when using multiple Pipeline.set_param_series #150

Merged
merged 2 commits into from
Apr 2, 2024

Conversation

SimonHeybrock
Copy link
Member

@SimonHeybrock SimonHeybrock commented Apr 2, 2024

Note that this does not happen with Pipeline.set_param_table.

SimonHeybrock added a commit to scipp/esssans that referenced this pull request Apr 2, 2024
Needs bugfix release of Sciline with scipp/sciline#150.

[no ci]
@@ -719,3 +719,23 @@ def to_str(x: int) -> str:
pl = sl.Pipeline((to_str,))
pl.set_param_series(int, ints)
assert pl.compute(sl.Series[int, str]) == sl.Series(int, {1: '1', 2: '2', 3: '3'})


def test_multiple_param_series_can_be_broadcast() -> None:
Copy link
Member

Choose a reason for hiding this comment

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

Did you also try putting the beam center finder provider back into the loki direct beam workflow with multiple files to see if it fixes it?

Copy link
Member

Choose a reason for hiding this comment

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

I can also try it if you prefer.

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 did not try, no. Go ahead, since you know which pieces to touch!

@SimonHeybrock SimonHeybrock merged commit 81dac95 into main Apr 2, 2024
5 checks passed
@SimonHeybrock SimonHeybrock deleted the fix-multi-param-series branch April 2, 2024 12:35
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.

2 participants