diff picard_macros.xml @ 9:41b8d087a2d2 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/picard commit 74ee0f0b594075fab7f707aaffb4a7f9dac35f2f
author devteam
date Wed, 07 Dec 2016 14:56:16 -0500
parents e417b1d6288d
children 3d8d70436d02
line wrap: on
line diff
--- a/picard_macros.xml	Tue Dec 06 10:04:26 2016 -0500
+++ b/picard_macros.xml	Wed Dec 07 14:56:16 2016 -0500
@@ -17,7 +17,9 @@
     </xml>
 
     <token name="@symlink_element_identifier@"><![CDATA[
-    ln -f -s '$inputFile' '$inputFile.element_identifier' &&
+    #import re
+    #set escaped_element_identifier = re.sub('[^\w\-]', '_', str($inputFile.element_identifier))
+    ln -f -s '$inputFile' '$escaped_element_identifier' &&
     ]]></token>
 
     <token name="@java_options@"><![CDATA[