Change dbkey of unmapped liftover dataset to the input dataset's dbkey.

This commit is contained in:
Guruprasad Anada
2009-08-21 11:40:51 -04:00
parent ec24e945cb
commit d72d1a7205
-1
View File
@@ -3,7 +3,6 @@ def exec_before_job(app, inp_data, out_data, param_dict, tool):
to_dbkey = param_dict['to_dbkey'].split('.')[0].split('To')[1]
to_dbkey = to_dbkey[0].lower()+to_dbkey[1:]
out_data['out_file1'].set_dbkey(to_dbkey)
out_data['out_file2'].set_dbkey(to_dbkey)
out_data['out_file1'].name = out_data['out_file1'].name + " [ MAPPED COORDINATES ]"
out_data['out_file2'].name = out_data['out_file2'].name + " [ UNMAPPED COORDINATES ]"