diff --git a/tools/interactive/interactivetool_askomics.xml b/tools/interactive/interactivetool_askomics.xml index bb7e65841cc..894ce369558 100644 --- a/tools/interactive/interactivetool_askomics.xml +++ b/tools/interactive/interactivetool_askomics.xml @@ -30,7 +30,7 @@ http://localhost:5000 true - @@ -46,17 +46,19 @@ source /askomics/venv/bin/activate && mkdir -p /import && - #for $input in $infiles: - #set link_name = re.sub('[^\w\-\.]', '_', str($input.element_identifier)) - #if $input.ext == 'tabular': - #set link_name = $link_name - #elif $input.ext == 'interval': - #set link_name = $link_name + '.bed' - #else: - #set link_name = $link_name + '.' + $input.ext - #end if - ln -s '$input' '/import/$link_name' && - #end for + #if $infiles: + #for $input in $infiles: + #set link_name = re.sub('[^\w\-\.]', '_', str($input.element_identifier)) + #if $input.ext == 'tabular': + #set link_name = $link_name + #elif $input.ext == 'interval': + #set link_name = $link_name + '.bed' + #else: + #set link_name = $link_name + '.' + $input.ext + #end if + ln -s '$input' '/import/$link_name' && + #end for + #end if bash /askomics/cli/set_config.sh && bash /askomics/cli/set_user.sh &&