src/etl/affected_genomic_model_etl.py
def genmod_process(self, components, agm_record):
        """Process affected genomic Model components."""
        if agm_record.get('affectedGenomicModelComponents') is None:
            return
        for component in agm_record.get('affectedGenomicModelComponents'):
            component_dataset = {
                "primaryId": agm_record.get('primaryID'),
                "componentId": component.get('alleleID'),
                "zygosityId": component.get('zygosity')
                }
            components.append(component_dataset)
Process affected genomic Model components.
Process affected genomic Model components.
Process affected genomic Model components .
def genmod_process(self, components, agm_record):
        if agm_record.get('affectedGenomicModelComponents') is None:
            return
        for component in agm_record.get('affectedGenomicModelComponents'):
            component_dataset = {
                "primaryId": agm_record.get('primaryID'),
                "componentId": component.get('alleleID'),
                "zygosityId": component.get('zygosity')
                }
            components.append(component_dataset)
def genmod_process ( self , components , agm_record ) : if agm_record . get ( 'affectedGenomicModelComponents' ) is None : return for component in agm_record . get ( 'affectedGenomicModelComponents' ) : component_dataset = { "primaryId" : agm_record . get ( 'primaryID' ) , "componentId" : component . get ( 'alleleID' ) , "zygosityId" : component . get ( 'zygosity' ) } components . append ( component_dataset )
Process affected genomic Model components.
Process affected genomic Model components .
"""Process affected genomic Model components."""
self
components
agm_record