From 5bbf7f87ccb252bbbc527d3b166ec5797c0486d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Todor=20Kondi=C4=87?= <todor.kondic@uni.lu>
Date: Mon, 17 Jun 2019 12:53:51 +0200
Subject: [PATCH] Start adding combine functionality

---
 R/mix.R | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/R/mix.R b/R/mix.R
index aa6a4d0..4f6537c 100644
--- a/R/mix.R
+++ b/R/mix.R
@@ -86,9 +86,10 @@ gen_comp_list<-function(src_fn,dest_fn) {
 ##'     documentation of `msmsRead` for details.
 ##' @param archdir The directory to store R objects created during
 ##'     workflow execution.
+##' @param lastStep The last step in the workflow. Default is eight.
 ##' @return MsmsWorkspace object.
 ##' @author Todor Kondić
-single.sw<-function(fn_data,stgs_alist,wd,fn_cmpd_list,mode,readMethod="mzR",archdir="archive") {
+single.sw<-function(fn_data,stgs_alist,wd,fn_cmpd_list,mode,readMethod="mzR",archdir="archive",lastStep=8) {
     
     require(RMassBank)
     require(yaml)
-- 
GitLab