diff msconvert3.xml @ 3:7e41529ee90c

added repo and tool dependencies
author galaxyp
date Thu, 20 Jun 2013 16:08:23 -0400
parents 861e3f0c2bb6
children 001e77708ec9
line wrap: on
line diff
--- a/msconvert3.xml	Fri May 10 17:24:56 2013 -0400
+++ b/msconvert3.xml	Thu Jun 20 16:08:23 2013 -0400
@@ -4,6 +4,10 @@
   <!-- END_VERSION_DEFAULT -->
 
   <command interpreter="python">
+    #set $ext = $input.ext
+    #if $ext.startswith("m:")
+    #set $ext = $ext[len("m:"):]
+    #end if
     msconvert_wrapper.py 
     --input=${input}
     #if hasattr($input, 'display_name')
@@ -11,7 +15,7 @@
     #end if
     --output=${output} 
     ## BEGIN_VERSION_DEFAULT    
-    --fromextension=${input.ext} 
+    --fromextension=$ext
     ## END_VERSION_DEFAULT