Some empty cases are filtered out in the first filtering process in QC. F2G sometimes will transfer empty JSON files to us even if the cases were annotated features and photos. Therefore, we need to log these case in our report then we can report to them these is something wrong with the data transfer.
I guess it is in this function in json_parser.py.
def check(self) -> bool:
'''Check whether Json fulfills all provided criteria.
The criteria are:
picture has been provided - gestalt_score in detected_syndromes
should be greater than 0
clinical diagnosis - selected_syndromes should not be empty
single monogenetic disease - not multiple syndromes selected and
not multiple pathogenic mutations in different genes
SNP mutations - no microdel/dup or other large scale aberrations
Some empty cases are filtered out in the first filtering process in QC. F2G sometimes will transfer empty JSON files to us even if the cases were annotated features and photos. Therefore, we need to log these case in our report then we can report to them these is something wrong with the data transfer.
I guess it is in this function in json_parser.py.