Exemplo n.º 1
0
def scales_metric(ctx):
    dbname = ctx.obj["dbname"]
    db = DB(dbname, ctx.obj["config"])
    db.open()
    outdir = ctx.obj["outdir"]
    best = ctx.obj["best"]
    intervals = int(ctx.obj["intervals"])
    smooth = ctx.obj["smooth"]
    scale = ctx.obj["scale"]
    metric = ctx.obj["metric"]

    scales = Scales(outdir, intervals)
    scales.metric(metric, db, best, smooth, scale)
Exemplo n.º 2
0
def scales_metric(ctx):
    dbname = ctx.obj['dbname']
    db = DB(dbname, ctx.obj['config'])
    db.open()
    outdir = ctx.obj['outdir']
    best = ctx.obj['best']
    intervals = int(ctx.obj['intervals'])
    smooth = ctx.obj['smooth']
    scale = ctx.obj['scale']
    metric = ctx.obj['metric']

    scales = Scales(outdir, intervals)
    scales.metric(metric, db, best, smooth, scale)