-
Notifications
You must be signed in to change notification settings - Fork 2
Histogram clinical control options list generated incorrectly for mapped variants #700
Copy link
Copy link
Labels
app: backendTask implementation touches the backendTask implementation touches the backendtype: bugSomething isn't workingSomething isn't working
Description
Bug Description
When fetching the histogram clinical control options via the API, the generated options list is currently based on the linkages from all mapped variants, rather than just those relevant to the current variants.
Expected Behavior
- When requesting histogram clinical control options, only the current set of mapped variants should be used to generate the options list.
Actual Behavior
- The options list is generated from linkages across all mapped variants in the database, not restricted to those which are
current.
Steps to Reproduce
- Fetch histogram clinical control options for a set of mapped variants via the API.
- Observe that the options list contains controls linked to variants outside the
currentset.
Impact
- This can result in misleading or extraneous clinical control options being displayed, decreasing API accuracy.
Suggested Fix
- Restrict the options list generation to only the linkages relevant to the currently requested mapped variants.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
app: backendTask implementation touches the backendTask implementation touches the backendtype: bugSomething isn't workingSomething isn't working