Mercurial > repos > greg > ideas
comparison ideas.xml @ 84:6b2ae32247c8 draft
Uploaded
author | greg |
---|---|
date | Thu, 24 Aug 2017 09:47:36 -0400 |
parents | 09f07994247f |
children | 8299b580a34d |
comparison
equal
deleted
inserted
replaced
83:09f07994247f | 84:6b2ae32247c8 |
---|---|
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: | |
121 raise Exception, "The input '%s' selected for this option is invalid because it does not include a '-' character" % $file_name_with_ext | |
120 #set file_name = $file_name_with_ext.split(".")[0] | 122 #set file_name = $file_name_with_ext.split(".")[0] |
121 #if str($input_name_positions) == "cell_first": | 123 #if str($input_name_positions) == "cell_first": |
122 #set cell_type_name = $file_name.split("-")[0] | 124 #set cell_type_name = $file_name.split("-")[0] |
123 #set epigenetic_factor_name = $file_name.split("-")[1] | 125 #set epigenetic_factor_name = $file_name.split("-")[1] |
124 #else: | 126 #else: |