From: Benjamin Mako Hill Date: Tue, 24 Jun 2014 21:51:34 +0000 (-0700) Subject: fix code based on fail test run X-Git-Url: https://projects.mako.cc/source/redirect-tools/commitdiff_plain/0f0cf080e5f46dd06086a6de771eb0f0c34e6da4?ds=sidebyside;hp=94bd17bbb5059ab82da990a6488cbe6eb3d5c42d fix code based on fail test run --- diff --git a/02-generate_spells.R b/02-generate_spells.R index dc5850b..c2a2188 100644 --- a/02-generate_spells.R +++ b/02-generate_spells.R @@ -1,9 +1,12 @@ source("redirect_tools.R") +cur.dir <- getwd() + # save the run number setwd(redirect.data.dir) redirect.spells <- filename.to.spells(list.files()) +setwd(cur.dir) setwd(spells.data.dir) save(redirect.spells, file="redirect_spells.RData")