Пример #1
0
 def xfamily(self):
     individuals = [
         i.xindividual() for i in self.get_individuals_with_variant_data()
     ]
     return XFamily(self.family_id,
                    individuals,
                    project_id=self.project.project_id)
Пример #2
0
 def xfamily(self):
     individuals = [i.xindividual() for i in self.individuals.all()]
     return XFamily(self.cohort_id,
                    individuals,
                    project_id=self.project.project_id)