diff picard_macros.xml @ 14:465cbb0cf2eb 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:30 -0500
parents 7e6fd3d0f16e
children 6741a8ace658
line wrap: on
line diff
--- a/picard_macros.xml	Tue Dec 06 10:04:41 2016 -0500
+++ b/picard_macros.xml	Wed Dec 07 14:56:30 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[