PageRenderTime 53ms CodeModel.GetById 48ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tools/filters/axt_to_lav_code.py

https://bitbucket.org/cistrome/cistrome-harvard/
Python | 8 lines | 7 code | 1 blank | 0 comment | 3 complexity | e0b45374506d1153c8dd08efa8ec63de MD5 | raw file
1
2def exec_after_process(app, inp_data, out_data, param_dict, tool, stdout, stderr):
3    for name,data in out_data.items():
4        if name == "seq_file2":
5            data.dbkey = param_dict['dbkey_2']
6            app.model.context.add( data )
7            app.model.context.flush()
8            break