Skip to content
Snippets Groups Projects
Unverified Commit 80f40a47 authored by Todor Kondic's avatar Todor Kondic
Browse files

More typos

parent ff7fffd6
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ sw.do<-function(fn_data,fn_cmpd_list,mode,rdir=".") { ...@@ -36,7 +36,7 @@ sw.do<-function(fn_data,fn_cmpd_list,mode,rdir=".") {
no_drama_mkdir(rdir) no_drama_mkdir(rdir)
wdirs<-sapply(basename(fn_data),function(nm) file.path(rdir,stripext(nm))) wdirs<-sapply(basename(fn_data),function(nm) file.path(rdir,stripext(nm)))
sapply(wdirs,mkdir) sapply(wdirs,no_drama_mkdir)
stgs<-sapply(basename(wdirs),function (nm) paste(nm,"yml",sep='.')) stgs<-sapply(basename(wdirs),function (nm) paste(nm,"yml",sep='.'))
v(fn_data,stgs,wdirs,fn_cmpd_list,mode) v(fn_data,stgs,wdirs,fn_cmpd_list,mode)
} }
...@@ -55,7 +55,7 @@ sw.do<-function(fn_data,fn_cmpd_list,mode,rdir=".") { ...@@ -55,7 +55,7 @@ sw.do<-function(fn_data,fn_cmpd_list,mode,rdir=".") {
##' @export ##' @export
mb.prep<-function(w,rdir=".") { mb.prep<-function(w,rdir=".") {
idir<-function(n) file.path(rdir,stripext(n)) idir<-function(n) file.path(rdir,stripext(n))
sapply(names(w),function (n) mkdir(file.path(idir(n),"info"))) sapply(names(w),function (n) no_drama_mkdir(file.path(idir(n),"info")))
fn_info<-sapply(names(w),function (n) file.path(idir(n),"info",attch(n,'.info.csv'))) fn_info<-sapply(names(w),function (n) file.path(idir(n),"info",attch(n,'.info.csv')))
fn_stgs<-sapply(names(w),function(n) file.path(idir(n),attch(n,'.ini'))) fn_stgs<-sapply(names(w),function(n) file.path(idir(n),attch(n,'.ini')))
mb.prep.v(w,fn_info,fn_stgs) mb.prep.v(w,fn_info,fn_stgs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment