Mercurial > repos > greg > ideas
comparison ideas.xml @ 87:665b0feae3de draft
Uploaded
| author | greg |
|---|---|
| date | Thu, 24 Aug 2017 09:57:20 -0400 |
| parents | a9b13ae63908 |
| children | 462ce06410c6 |
comparison
equal
deleted
inserted
replaced
| 86:a9b13ae63908 | 87:665b0feae3de |
|---|---|
| 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 #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 | 120 #assert str($file_name_with_ext).find("-") >= 0, "The selected input '%s' is invalid because it does not include the '-' character which is required when setting cell type and epigenetic factor names by extracting them from the input file names." % $file_name_with_ext |
| 121 #set file_name = $file_name_with_ext.split(".")[0] | 121 #set file_name = $file_name_with_ext.split(".")[0] |
| 122 #if str($input_name_positions) == "cell_first": | 122 #if str($input_name_positions) == "cell_first": |
| 123 #set cell_type_name = $file_name.split("-")[0] | 123 #set cell_type_name = $file_name.split("-")[0] |
| 124 #set epigenetic_factor_name = $file_name.split("-")[1] | 124 #set epigenetic_factor_name = $file_name.split("-")[1] |
| 125 #else: | 125 #else: |
