diff snippy-core.xml @ 6:d9c204f7042c draft

planemo upload commit 321f9fa14fb9c9ab56eec84bfcc2d0c0760bee4a
author thanhlv
date Mon, 23 Sep 2019 18:34:01 -0400
parents e10e0c41a6f3
children
line wrap: on
line diff
--- a/snippy-core.xml	Mon Sep 09 09:41:12 2019 -0400
+++ b/snippy-core.xml	Mon Sep 23 18:34:01 2019 -0400
@@ -14,10 +14,10 @@
             ln -sf '$reference_source.ref_file.fields.path' 'ref' &&
         #end if
         #for $indir in $indirs
-            #set $sample_name = os.path.splitext(os.path.basename(str($indir.name)))[0]
+            #set $sample_name = os.path.splitext(os.path.basename(str($indir.element_identifier)))[0]
             mkdir '$sample_name' && tar -xf '$indir' -C '$sample_name' --strip-components=1 &&
         #end for
-        #set snippy_dirs = " ".join(["'{0}'".format(os.path.splitext(os.path.basename(str($indir.name)))[0]) for $indir in $indirs])
+        #set snippy_dirs = " ".join(["'{0}'".format(os.path.splitext(os.path.basename(str($indir.element_identifier)))[0]) for $indir in $indirs])
         snippy-core
             --ref 'ref'
             ${snippy_dirs}