Skip to content

Commit

Permalink
Update hmdb.R
Browse files Browse the repository at this point in the history
  • Loading branch information
tabbassidaloii committed Apr 10, 2024
1 parent f711d5f commit df5f4c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions r/src/hmdb.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df5f4c3

Please sign in to comment.