# HG changeset patch # User greg # Date 1515005949 18000 # Node ID a3bd0cecdeb27e4de945e18202c8fba772b17afd # Parent d9342dc571e560bf9ed790dad2feba62c934ff30 Uploaded diff -r d9342dc571e5 -r a3bd0cecdeb2 ideas_genome_tracks.xml --- a/ideas_genome_tracks.xml Tue Jan 02 10:53:05 2018 -0500 +++ b/ideas_genome_tracks.xml Wed Jan 03 13:59:09 2018 -0500 @@ -10,8 +10,8 @@ #import re #set dbkey = None #set sanitized_hub_name = $re.sub('\s+', '', str($hub_name), flags=re.UNICODE) -#set sanitized_long_label = str($long_label)[:79] -#set sanitized_short_label = str($short_label)[:16] +#set sanitized_hub_long_label = str($hub_long_label)[:79] +#set sanitized_hub_short_label = str($hub_short_label)[:16] #if str($__user__.email) == 'None': ## This is needed only if the user is not logged in. #set email = "foo@bar.net" @@ -20,12 +20,12 @@ #end if #set input_dir_para = "input_dir_para" #set input_dir_state = "input_dir_state" -#set select_state_color = $select_state_color_cond.select_state_color -#if str($select_state_color) == 'yes': - #set state_color_repeat = $select_state_color_cond.state_color_repeat +#set set_state_name_and_color = $set_state_name_and_color_cond.set_state_name_and_color +#if str($set_state_name_and_color) == 'yes': + #set state_repeat = $set_state_name_and_color_cond.state_repeat #set state_indexes = list() #set state_colors = list() - #for $items in $state_color_repeat: + #for $items in $state_repeat: $state_indexes.append(str($items.state_index)) $state_colors.append(str($items.state_color)) #end for @@ -55,14 +55,15 @@ --hub_name '$hub_name' --input_dir_para '$input_dir_para' --input_dir_state '$input_dir_state' ---long_label '$sanitized_long_label' +--hub_long_label '$sanitized_hub_long_label' --output_trackhub '$output_trackhub' --output_trackhub_files_path '$output_trackhub.files_path' --output_trackhub_id '$__app__.security.encode_id($output_trackhub.id)' --script_dir '$__tool_directory__' ---short_label '$sanitized_short_label' -#if str($select_state_color) == 'yes': +--hub_short_label '$sanitized_hub_short_label' +#if str($set_state_name_and_color) == 'yes': --state_indexes '$state_indexes' + --state_names '$state_names' --state_colors '$state_colors' #end if &>ideas_genome_tracks.log; @@ -74,30 +75,33 @@ - - + + + + + + + + + + + - - + + + + + - - - - - - - - - @@ -113,8 +117,8 @@ - - + +