Skip to content

Adding support for XS groups with numerical labels - #2730

Merged
john-science merged 8 commits into
mainfrom
num_labels
Nov 10, 2026
Merged

john-science merged 8 commits into
mainfrom
num_labels

Conversation

@john-science

@john-science john-science commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

What is the change? Why is it being made?

It appears that XS group labels that include digits (0-9) is almost supported, but not quite. This PR fills that gap, at least in the only location we have so far found to be lacking.

The logic in this method is now quite a bit more complicated. But I beefed up the testing to prove that it's working correctly.

Interestingly, I found we had a unit test that should have been throwing an error before, because getXSTypeLabelFromNumber(130) was being called, and that should have thrown an error, but it didn't.

close #2717

SCR Information

Change Type: features

One-Sentence Rationale: 26 XS groups is not enough, and there was a call to support more.

One-line Impact on Requirements: NA


Checklist

@john-science john-science added the enhancement Improving an existing feature label Nov 4, 2026
@john-science
john-science requested a review from keckler November 4, 2026 23:42
@john-science
john-science marked this pull request as ready for review November 4, 2026 23:42
@john-science
john-science requested a review from yardasol November 9, 2026 22:23

@yardasol yardasol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Just a couple comments

@yardasol yardasol left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me. Would love to see what @keckler thinks...

@john-science
john-science merged commit 0339943 into main Nov 10, 2026
18 checks passed
@john-science
john-science deleted the num_labels branch November 10, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for cross section groups with numerical labels

2 participants