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 blue cluster boxes in task graph visualization #152

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

nvaytet
Copy link
Member

@nvaytet nvaytet commented Apr 3, 2024

Make sure we still have clusters in the visualization when using generics.

Fixes #151

@nvaytet nvaytet requested a review from jl-wynen April 3, 2024 13:06
@@ -87,7 +87,7 @@ def get_subgraph_name(name: str, kind: str) -> str:
if kind == 'series':
# Example: Series[RowId, Material[Country]] -> RowId, Material[Country]
return name.partition('[')[-1].rpartition(']')[0]
return name
return name.split('[')[0]
Copy link
Member

Choose a reason for hiding this comment

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

Where/how was this actually broken?

Copy link
Member

Choose a reason for hiding this comment

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

What about this discussion, where you pointed out something related? https://github.com/scipp/sciline/pull/124/files#r1489495340

Copy link
Member Author

Choose a reason for hiding this comment

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

It never made clusters, it always returned RawData[Sample] and RawData[Background] instead of RawData for both which would then make a cluster, I think?

@SimonHeybrock SimonHeybrock merged commit da886d9 into main Apr 5, 2024
5 checks passed
@SimonHeybrock SimonHeybrock deleted the visualize-blue-boxes branch April 5, 2024 04:13
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.

Grouping in blue boxes is gone from task graph visualization
2 participants