changeset 8:d171f98d5bdb draft default tip

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/msi_spectra_plots commit 5feaf3d0e0da8cef1241fecc1f4d6f81324594e6
author galaxyp
date Wed, 22 Aug 2018 13:36:10 -0400
parents a2097e90d0eb
children
files msi_spectra_plots.xml
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/msi_spectra_plots.xml	Wed Aug 15 05:39:44 2018 -0400
+++ b/msi_spectra_plots.xml	Wed Aug 22 13:36:10 2018 -0400
@@ -1,4 +1,4 @@
-<tool id="mass_spectrometry_imaging_mzplots" name="MSI plot spectra" version="1.10.0.5">
+<tool id="mass_spectrometry_imaging_mzplots" name="MSI plot spectra" version="1.10.0.6">
     <description>
         mass spectrometry imaging mass spectra plots
     </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
 
 ###################################### file properties in numbers ##############