Mercurial > repos > jjohnson > encyclopedia_library_to_blib
comparison macros.xml @ 4:4850741d1dff 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:40 -0400 |
parents | e0d2d05ea5d7 |
children | 5c680d71a2d0 |
comparison
equal
deleted
inserted
replaced
3:e0d2d05ea5d7 | 4:4850741d1dff |
---|---|
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" |