comparison srma_wrapper_code.py @ 0:9d60d2fce247 default tip

Migrated tool version 0.1.1 from old tool shed archive to new tool shed repository
author nilshomer
date Tue, 07 Jun 2011 17:43:07 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:9d60d2fce247
1 import os
2
3 def exec_before_job(app, inp_data, out_data, param_dict, tool):
4 try:
5 refFile = param_dict[ 'refGenomeSource' ][ 'index' ].value
6 except:
7 try:
8 refFile = param_dict[ 'refGenomeSource' ][ 'ownFile' ].dbkey
9 except:
10 refFile = '?'
11 dbkey = os.path.split( refFile )[1].split( '.' )[0]