From df5f4c3cb96eb3a88afaa24ef762feb33b9ea40b Mon Sep 17 00:00:00 2001 From: Tooba Abbassi-Daloii Date: Wed, 10 Apr 2024 13:03:56 +0200 Subject: [PATCH] Update hmdb.R --- r/src/hmdb.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/r/src/hmdb.R b/r/src/hmdb.R index dd2b1265..2680f83a 100644 --- a/r/src/hmdb.R +++ b/r/src/hmdb.R @@ -6,11 +6,11 @@ if (!"xml2" %in% installed.packages()) { library(xml2) # Set variables -sourceName <- "hmdb" -inputDir <- "mapping_preprocessing/datasources/" +sourceName <- "HMDB" +inputDir <- "datasources/" # Create output directory -outputDir <- paste0("mapping_preprocessing/datasources/", sourceName, "/data") +outputDir <- paste0("datasources/", tolower(sourceName), "/recentData") dir.create(outputDir, showWarnings = FALSE) # Create list to save the mapping data