Closed EleanorHyde-UMCG closed 2 weeks ago
(see the 'conversely' part underneath as well, added later)
Is this not a feature? I would like to explicitly see that testcohort2 has no mappings?
the 'conversely' is also interesting but a seperate issue. And there,
option1: we would like to show all cohorts that have mapping unless specific cohorts are selected then I would also like to see those cohorts.
OR
option2: do you want to have all cohorts that are partner in the network. And if so, what to do outside a network.
I would prefer option 1
bug #3868 has been created for the 'conversely' part
Works as intended. I don't want to do this
Within the team we are in agreement that displaying cohorts actively selected whether or not they have mappings to the variables selected is beneficial to the user. This is not a bug and will be closed!
What version of EMX2 are you using (see footer) v10.79.3-SNAPSHOT
Describe the bug Too many cohorts are shown in the variable explorer: those selected but crucially WITHOUT a mapping to the variable(s) selected should not be shown in the harmonisation matrix.
To Reproduce Steps to reproduce the behavior:
Expected behavior In step 7, testcohort2 should not be shown, because it has no mappings to the variables filtered on. As soon as the cohort filter is applied, only cohorts with mappings to the variables which result from the filtering are shown.
Screenshots No cohortfilters applied: correct![image](https://github.com/molgenis/molgenis-emx2/assets/80456579/ebcaaef3-7b5c-49e6-a744-7a1e259037e4)
Only testcohort2 filtered: correct![image](https://github.com/molgenis/molgenis-emx2/assets/80456579/72bbaa0a-1aa8-4af9-9a55-9970f734f725)
testcohort2 and testcohort3 selected: incorrect, testcohort2 should not be shown at all![image](https://github.com/molgenis/molgenis-emx2/assets/80456579/2943a094-f229-4040-8eea-eb7d718adc5e)
CONVERSELY:
Screenshots![image](https://github.com/molgenis/molgenis-emx2/assets/80456579/5e4d63d7-28d3-42de-a16c-3f55ee6e10f5)
Desktop (please complete the following information):