diff submit_to_mogi.xml @ 5:821627b6ad6f draft

planemo upload for repository https://github.com/computational-metabolomics/mspurity-galaxy commit 1800a3818988f21ef129e500818c9a087fce5875-dirty
author tomnl
date Tue, 28 Aug 2018 07:13:51 -0400
parents 58ee3687f776
children 187641a876b9
line wrap: on
line diff
--- a/submit_to_mogi.xml	Wed Jul 18 06:08:52 2018 -0400
+++ b/submit_to_mogi.xml	Tue Aug 28 07:13:51 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="submit_to_mogi" name="submit_to_mogi" version="0.0.1">
+<tool id="submit_to_mogi" name="submit_to_mogi" version="0.0.2">
     <description>
         Submit Galaxy datasets to MOGI django database
     </description>
@@ -20,9 +20,9 @@
        #set $galaxy_data_id=$__app__.security.encode_id($mogi_data.id)
        #set $galaxy_history_id=$__app__.security.encode_id($mogi_data.creating_job.history.id)
        #set $galaxy_history_name=$mogi_data.creating_job.history.name
-       curl -X POST --insecure $mogi_url/rest/incoming_galaxy_data/ -d galaxy_data_id=$galaxy_data_id 
+       curl -X POST --insecure $mogi_url/mogi/rest/incoming_galaxy_data/ -d galaxy_data_id=$galaxy_data_id 
                     -d galaxy_history_id=$galaxy_history_id -d galaxy_history_name='$galaxy_history_name' 
-                    -d galaxy_name=$galaxy_name  -d galaxy_url=$galaxy_url > curl_out.txt;
+                    -d galaxy_name=$galaxy_name -d investigation_name=$investigation_name -d galaxy_url=$galaxy_url > curl_out.txt;
       </command>
     <inputs>
 
@@ -35,7 +35,10 @@
                help="URL for MOGI" />
 
         <param type="text" name="galaxy_name" label="Name of Galaxy instance in MOGI"
-               help="Should be lower cases with no white spaces or non alphnumeric characters" />
+               help="Should be lower cases with no white spaces or non alphnumeric characters except _ or -" />
+
+        <param type="text" name="investigation_name" label="Name of the investigation in submit to in MOGI"
+               help="Should be lower cases with no white spaces or non alphnumeric characters except _ or -" />
   
          <param type="text" name="galaxy_url" label="Galaxy URL"
                help="URL of the Galaxy site (not required, but useful for a reference)" />