diff fetch_organism_jbrowse.xml @ 10:dca2fb399ee6 draft

"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/apollo commit 08015be1ee8a784e0619f961aaa724857debfd6f"
author gga
date Mon, 02 Dec 2019 05:45:36 -0500
parents d8bb1f9b85b2
children d91f4bc313d3
line wrap: on
line diff
--- a/fetch_organism_jbrowse.xml	Mon Jul 29 10:09:38 2019 -0400
+++ b/fetch_organism_jbrowse.xml	Mon Dec 02 05:45:36 2019 -0500
@@ -7,21 +7,22 @@
   <expand macro="requirements"/>
   <code file="webapollo.py"/>
   <command detect_errors="aggressive"><![CDATA[
-mkdir -p $jbrowse.files_path/
+mkdir -p '$jbrowse.files_path/'
 
 &&
 
-python $__tool_directory__/fetch_organism_jbrowse.py
-@ADMIN_AUTH@
+@AUTH@
+
+python '$__tool_directory__/fetch_organism_jbrowse.py'
 
 @ORG_OR_GUESS@
-$jbrowse.files_path/
+'$jbrowse.files_path/'
 
-"$__user_email__" &&
+'$__user_email__' &&
 
-cp $dummyIndex $jbrowse &&
-find $jbrowse.files_path -type f -printf '<li><a href="%P">%P</a></li>\n' | sort >> $jbrowse &&
-echo '</ul></body></html>' >> $jbrowse
+cp '$dummyIndex' '$jbrowse' &&
+find '$jbrowse.files_path' -type f -printf '<li><a href="%P">%P</a></li>\n' | sort >> $jbrowse &&
+echo '</ul></body></html>' >> '$jbrowse'
 
 ]]></command>
   <configfiles>
@@ -63,12 +64,16 @@
     </data>
   </outputs>
   <tests>
-      <test expect_failure="true">
+      <test>
           <conditional name="org_source">
               <param name="source_select" value="direct"/>
-              <param name="org_raw" value="Test org" />
+              <param name="org_raw" value="alt_org" />
           </conditional>
-          <expand macro="test_result" />
+          <output name="jbrowse">
+              <assert_contents>
+                  <has_text text="This is not a full JBrowse instance" />
+              </assert_contents>
+          </output>
       </test>
   </tests>
   <help><![CDATA[