changeset 8:d0e13a160a6c draft

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:44:57 -0400
parents 7d94faee0731
children ebca696cb024
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:40:41 2018 -0400
+++ b/msi_spectra_plots.xml	Wed Aug 22 13:44:57 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 ##############