Resulting in an issue in production pipelines populationgenomics/production-pipelines#776
Cohorts are constructed with 'AND' like criteria, and as such it's very easy to get an empty cohort as output.
We may not want to allow cohorts to be created when there are no sequencing groups within them.
We may also want to restrict the values to be valid, however, the same issue may exist, as valid criteria can still produce empty cohorts.
Point of discussion in prod-pipes meeting.
Resulting in an issue in production pipelines populationgenomics/production-pipelines#776
Cohorts are constructed with 'AND' like criteria, and as such it's very easy to get an empty cohort as output.
We may not want to allow cohorts to be created when there are no sequencing groups within them.
We may also want to restrict the values to be valid, however, the same issue may exist, as valid criteria can still produce empty cohorts.
Point of discussion in prod-pipes meeting.