def get_smoking_self_report(cur_dir, filename) -> List[DataPoint]:
    emas = get_EMA_data(cur_dir, filename)
    data = []
    for ema in emas:
        d = ema[2]
        jsn_file = json.loads(d)
        status = jsn_file['message']
        if ('YES' in status):
            data.append(DataPoint(start_time=ema[0], offset=ema[1], sample=1))
    return data
def get_smoking_self_report(cur_dir, filename) -> List[DataPoint]:
    emas = get_EMA_data(cur_dir, filename)
    data = []
    for ema in emas:
        d = ema[2]
        jsn_file = json.loads(d)
        status = jsn_file['message']
        if ('YES' in status):
            data.append(DataPoint(start_time=ema[0], offset=ema[1], sample=1))
    return data