Skip to content

Commit 8619121

Browse files
Update GL-DPPD-7110-A_build-genome-annots-tab.R
Store workflow version workflow_code folder name as a variable
1 parent 3cc61cf commit 8619121

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GeneLab_Reference_Annotations/Workflow_Documentation/GL_RefAnnotTable-A/workflow_code/GL-DPPD-7110-A_build-genome-annots-tab.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
# Define variables associated with current pipeline and annotation table versions
88
GL_DPPD_ID <- "GL-DPPD-7110-A"
9+
workflow_version <- "GL_RefAnnotTable-A_1.1.0"
910
ref_tab_path <- "https://raw.githubusercontent.com/nasa/GeneLab_Data_Processing/master/GeneLab_Reference_Annotations/Pipeline_GL-DPPD-7110_Versions/GL-DPPD-7110-A/GL-DPPD-7110-A_annotations.csv"
1011
readme_path <- "https://github.com/nasa/GeneLab_Data_Processing/tree/master/GeneLab_Reference_Annotations/Workflow_Documentation/GL_RefAnnotTable-A/README.md"
1112

@@ -147,7 +148,7 @@ GTF <- data.frame(GTF)
147148
install_and_load_org_db <- function(target_organism, target_org_db, ref_tab_path) {
148149
# Folder names for the script location: Parent directories or . for executing from parent dir or cd.
149150
## No functionality to pull in the path of an executing R script is available
150-
possible_folders <- c("workflow_code", "GL_RefAnnotTable-A_1.1.0", ".")
151+
possible_folders <- c("workflow_code", workflow_version, ".")
151152

152153
# Get the current working directory and attempt to locate the correct folder
153154
script_dir <- getwd()

0 commit comments

Comments
 (0)