comparison ideas.xml @ 85:8299b580a34d draft

Uploaded
author greg
date Thu, 24 Aug 2017 09:51:10 -0400
parents 6b2ae32247c8
children a9b13ae63908
comparison
equal deleted inserted replaced
84:6b2ae32247c8 85:8299b580a34d
115 #if str($input_type_cond.cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor) == "extract": 115 #if str($input_type_cond.cell_type_epigenetic_factor_cond.cell_type_epigenetic_factor) == "extract":
116 #set cell_type_epigenetic_factor_cond = $input_type_cond.cell_type_epigenetic_factor_cond 116 #set cell_type_epigenetic_factor_cond = $input_type_cond.cell_type_epigenetic_factor_cond
117 #set input_name_positions = $cell_type_epigenetic_factor_cond.input_name_positions 117 #set input_name_positions = $cell_type_epigenetic_factor_cond.input_name_positions
118 #for $i in $cell_type_epigenetic_factor_cond.input: 118 #for $i in $cell_type_epigenetic_factor_cond.input:
119 #set file_name_with_ext = $i.name 119 #set file_name_with_ext = $i.name
120 #if str($file_name_with_ext).find("-") < 0: 120 #assert str($file_name_with_ext).find("-") < 0, "The input '%s' selected for this option is invalid because it does not include a '-' character" % $file_name_with_ext
121 raise Exception, "The input '%s' selected for this option is invalid because it does not include a '-' character" % $file_name_with_ext
122 #set file_name = $file_name_with_ext.split(".")[0] 121 #set file_name = $file_name_with_ext.split(".")[0]
123 #if str($input_name_positions) == "cell_first": 122 #if str($input_name_positions) == "cell_first":
124 #set cell_type_name = $file_name.split("-")[0] 123 #set cell_type_name = $file_name.split("-")[0]
125 #set epigenetic_factor_name = $file_name.split("-")[1] 124 #set epigenetic_factor_name = $file_name.split("-")[1]
126 #else: 125 #else: