changeset 9:3aac627bd3ee draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_ion_images commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
author galaxyp
date Wed, 22 Aug 2018 13:42:32 -0400
parents 6cd561bbb7ee
children
files msi_ion_images.xml
diffstat 1 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/msi_ion_images.xml	Wed Aug 15 05:40:16 2018 -0400
+++ b/msi_ion_images.xml	Wed Aug 22 13:42:32 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="mass_spectrometry_imaging_ion_images" name="MSI ion images" version="1.10.0.4">
+<tool id="mass_spectrometry_imaging_ion_images" name="MSI ion images" version="1.10.0.5">
     <description>
         mass spectrometry imaging m/z heatmaps
     </description>
@@ -44,7 +44,11 @@
 #elif $infile.ext == 'analyze75'
     msidata = readAnalyze('infile', attach.only=TRUE)
 #else
-    load('infile.RData')
+    loadRData <- function(fileName){
+    load(fileName)
+    get(ls()[ls() != "fileName"])
+    }
+    msidata = loadRData('infile.RData')
 #end if
 
 
@@ -263,7 +267,7 @@
             <option value="gaussian">gaussian</option>
             <option value="adaptive">adaptive</option>
         </param>
-        <param name="plusminus_dalton" value="0.25" type="float" label="M/z range" help="plusminus m/z window in Dalton"/>
+        <param name="plusminus_dalton" value="0.25" type="float" label="M/z range" help="plusminus m/z window"/>
         <param name="strip" type="boolean" checked="True" display="radio" truevalue="TRUE" falsevalue="FALSE" label="Display m/z value in plot"/>
         <param name="colorkey" type="boolean" checked="True" display="radio" truevalue="TRUE" falsevalue="FALSE" label="Display colorkey in plot"/>
         <conditional name="image_cond">