diff all_fasta.xml @ 2:258826db8291 draft

"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit 668759e2fc5d53432092d7c1395b402385733171"
author brinkmanlab
date Fri, 06 Nov 2020 21:26:52 +0000
parents 40d14d5c8125
children 7b432c6ff465
line wrap: on
line diff
--- a/all_fasta.xml	Fri Nov 06 18:00:31 2020 +0000
+++ b/all_fasta.xml	Fri Nov 06 21:26:52 2020 +0000
@@ -14,14 +14,14 @@
     <version_command>sqlite3 --version</version_command>
     <command><![CDATA[
         #import os.path
-        sqlite3 -readonly $db '.param set :basepath ${os.path.dirname($db)}' '.read $__tool_directory__/all_fasta.sql' > '$output';
+        sqlite3 -readonly $db '.param set :basepath ${os.path.dirname(str($db))}' '.read $__tool_directory__/all_fasta.sql' > '$output';
         #if $builds
         sqlite3 -readonly $db < '$builds_sql'
-        #endif
+        #end if
     ]]></command>
     <configfiles>
         <configfile name="builds_sql"><![CDATA[
-            #include $__tool_directory__/builds.sql
+            #include $__tool_directory__+"/builds.sql"
         ]]></configfile>
     </configfiles>
     <inputs>