Skip to content

Commit

Permalink
update box saving path
Browse files Browse the repository at this point in the history
  • Loading branch information
hanayik committed Aug 11, 2017
1 parent f8d1ac3 commit 8876a13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cloudChecker.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ function checkForCloudOptions() {
if (useCloud === true) {
// Box Sync will be rarely used, so check it first
if (fs.existsSync(boxSyncDir)) {
savePath = boxSyncDir
savePath = path.join(boxSyncDir, 'MUSC_POLAR')
console.log("save path is: ", savePath)
return savePath
} else if (fs.existsSync(dropboxCstarDir)) {
savePath = dropboxCstarDir
savePath = path.join(dropboxCstarDir, 'PolarData')
console.log("save path is: ", savePath)
return savePath
} else if (fs.existsSync(dropboxDir)) {
savePath = dropboxDir
savePath = path.join(dropboxDir, 'PolarData')
console.log("save path is: ", savePath)
return savePath
}
Expand Down
2 changes: 1 addition & 1 deletion core.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function ff() {
},
this.datestamp = getDateStamp(),
this.makeOutputFolder = function () {
outpath = path.join(savePath, 'PolarData', app.getName(), getSubjID(), getSessID())
outpath = path.join(savePath, app.getName(), getSubjID(), getSessID())
console.log(outpath)
if (!fs.existsSync(outpath)) {
mkdirp.sync(outpath)
Expand Down

0 comments on commit 8876a13

Please sign in to comment.