def value_fixer()

in codes/data_processing.py [0:0]


def value_fixer(CHR_value):
    ## fix the nan values in the .bigWig files ##
    for m in range (len(CHR_value)):
        if math.isnan(CHR_value[m]) == True:
            CHR_value[m]=0.0
            
    return CHR_value