Open charles-cowart opened 2 years ago
I think this is addressed approrpiately with the np.nan_to_num() cast and the subsequent np.clip()
Empirically, we haven't seen any issues when there is no quant data, or there is a zero in the quant data for a sample.
There is potential to have a divide by zero error occur in calculate_norm_vol() if one or more of the values in the dna_concs array is zero, say because of a BLANK.