def check_ppm_limits(dic, data, dim, limits):
    uc0 = ng.pipe.make_uc(dic, data, dim=dim)
    l0, l1 = uc0.ppm_limits()
    assert round(l0, 2) == limits[0]
    assert round(l1, 2) == limits[1]
Accepts ziggy JSON submissions.
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/tests/test_pipe.py/check_ppm_limits--crossover with--dataset/ETHPy150Open kobotoolbox/kobocat/onadata/apps/logger/views.py/ziggy_submissions