Skip to content

Fix sparse CT scenario indexing#905

Open
acsevillam wants to merge 1 commit into
e0404:dev_varRBErobOptfrom
acsevillam:pr/sparse-ct-scenario-indexing
Open

Fix sparse CT scenario indexing#905
acsevillam wants to merge 1 commit into
e0404:dev_varRBErobOptfrom
acsevillam:pr/sparse-ct-scenario-indexing

Conversation

@acsevillam
Copy link
Copy Markdown

Bug description

Sparse CT scenario models can fail when the active CT scenario id is not equal to its row position in ctScenProb.

Approach

This PR disambiguates CT scenario position from real CT scenario id in sub2scenIx and fixes extractSingleScenario to select ctScenProb rows by CT scenario id.

Open Questions and/or Concerns

  • Confirm the added sub2scenIx optional argument is acceptable as a backward-compatible API extension.

References

None.

@wahln
Copy link
Copy Markdown
Contributor

wahln commented May 5, 2026

Can you check if this ist sill relevant on the dev branch? As said in #904 , the dev_varRBErobOpt has been merged into dev a while ago (and was also part of the last releases), and I remember fixing something similar on dev.

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