Mercurial > repos > jjohnson > encyclopedia_encyclopedia
comparison macros.xml @ 4:e191adb34d04 draft
"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 96a023cccea27c30ff61caf271a3c79b92db1873"
author | jjohnson |
---|---|
date | Tue, 07 Jul 2020 11:55:15 -0400 |
parents | a3db9a8cf1b5 |
children | aeda6093dd40 |
comparison
equal
deleted
inserted
replaced
3:a3db9a8cf1b5 | 4:e191adb34d04 |
---|---|
29 #else | 29 #else |
30 #return $input1.name | 30 #return $input1.name |
31 #end if | 31 #end if |
32 #end def | 32 #end def |
33 #def clean($name1) | 33 #def clean($name1) |
34 ## #set $name_clean = $re.sub('[^\w\-_\.]', '_', $re.sub('(?i[.](fa|fasta|imzml|mzml)$)','', $re.sub('.*/','', $name1.rstrip('.gz')))) | 34 #set $name_clean = $re.sub('[^\w\-_]', '_', $re.sub('(?i)[.](fa|fasta|imzml|mzml)$','', $re.sub('.*/','', $name1.rstrip('.gz')))) |
35 ## #set $name_clean = $re.sub('[^\w\-_\.]', '_', $re.sub('.*/','', $name1.rstrip('.gz'))) | |
36 #set $name_clean = $re.sub('[^\w\-_\.]', '_', $re.sub('(?i)[.](fa|fasta|imzml|mzml)$','', $re.sub('.*/','', $name1.rstrip('.gz')))) | |
37 #return $name_clean | 35 #return $name_clean |
38 #end def | 36 #end def |
39 #def ln_name($ds) | 37 #def ln_name($ds) |
40 #set $ext = '' | 38 #set $ext = '' |
41 #if $ds.is_of_type('mzml') | 39 #if $ds.is_of_type('mzml') or $ds.is_of_type('imzml') |
42 #set $ext = ".mzML" | 40 #set $ext = ".mzML" |
43 #else if $ds.is_of_type('elib') | 41 #else if $ds.is_of_type('elib') |
44 #set $ext = ".elib" | 42 #set $ext = ".elib" |
45 #else if $ds.is_of_type('dlib') | 43 #else if $ds.is_of_type('dlib') |
46 #set $ext = ".dlib" | 44 #set $ext = ".dlib" |