예제 #1
0
파일: test_prov.py 프로젝트: NLeSC/noodles
def test_prov_01():
    reg = serial.base()
    a = add(3, 4)

    enc = reg.deep_encode(a._workflow.root_node)
    dec = reg.deep_decode(enc)

    result = run_job(0, dec)
    assert result.value == 7
예제 #2
0
    def get_result():
        source = jobs.source()

        for key, job in source:
            tic()
            yield run_job(key, job)
예제 #3
0
    def get_result():
        source = jobs.source()

        for key, job in source:
            tic()
            yield run_job(key, job)