

@utils.map_wrap
def runfn(*args):
    fn_name = args[0]
    dockerconf = args[1]
    cmd_args = args[2]
    parallel = args[3]
    fn_args = args[4:]
    if False:
        fn = getattr(multitasks, fn_name)
        return fn(fn_args)
    else:
        return run.do_runfn(fn_name, fn_args, cmd_args, parallel, dockerconf)

dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/docker/multitasks.py runfn/original