Mercurial > repos > eric-rasche > circos
comparison macros_conffiles.xml @ 7:b72f2db6d417 draft
planemo upload for repository https://github.com/TAMU-CPT/galaxy-circos-tool commit 86fb40a41d9e6012ea0b02d1cd77675f4bd971fb
author | eric-rasche |
---|---|
date | Sat, 10 Jun 2017 14:16:41 -0400 |
parents | 169adf243c0a |
children | eb3af6e9f633 |
comparison
equal
deleted
inserted
replaced
6:169adf243c0a | 7:b72f2db6d417 |
---|---|
276 #end if | 276 #end if |
277 #end for | 277 #end for |
278 | 278 |
279 #for $action in $rule.actions: | 279 #for $action in $rule.actions: |
280 #set actiontype = $action.action.action_select | 280 #set actiontype = $action.action.action_select |
281 #set actionval = $action.action.action_value | |
282 #if $actiontype == 'color': | 281 #if $actiontype == 'color': |
283 #if $action.action.dynamic.dynamic_select == "static": | 282 #if $action.action.dynamic.dynamic_select == "static": |
284 #set actionval = $circosColor($actionval) | 283 #set actionval = $circosColor($action.action.dynamic.action_value) |
285 $actiontype = $actionval | 284 $actiontype = $actionval |
286 #else | 285 #else |
287 #set x_fill_color = $action.action.dynamic.action_value | 286 #set x_fill_color = $action.action.dynamic.action_value |
288 #set x_fill_color_count = int(str($x_fill_color).split('-')[1]) + 1 | 287 #set x_fill_color_count = int(str($x_fill_color).split('-')[1]) + 1 |
289 #set x_fill_color_qw = ' '.join(["%s-%s" % ($action.action.dynamic.action_value, $i) for i in range(1, $x_fill_color_count)]) | 288 #set x_fill_color_qw = ' '.join(["%s-%s" % ($action.action.dynamic.action_value, $i) for i in range(1, $x_fill_color_count)]) |
290 $actiontype = eval(qw(${x_fill_color_qw})[remap_int(var(value), ${action.action.dynamic.min_value}, ${action.action.dynamic.max_value}, 0, ${x_fill_color_count - 1})]) | 289 $actiontype = eval(qw(${x_fill_color_qw})[remap_int(var(value), ${action.action.dynamic.min_value}, ${action.action.dynamic.max_value}, 0, ${x_fill_color_count - 1})]) |
291 #end if | 290 #end if |
292 #else | 291 #else |
292 #set actionval = $action.action.action_value | |
293 $actiontype = $actionval | 293 $actiontype = $actionval |
294 #end if | 294 #end if |
295 #end for | 295 #end for |
296 | 296 |
297 $rule.continue_flow | 297 $rule.continue_flow |