# HG changeset patch # User mingchen0919 # Date 1526312363 14400 # Node ID e7151380944943445d3e531e8f22033f42ff1277 # Parent 771aea048df6490002362a967c7ece4a1f2697cf planemo upload commit 7d411a114317ebd9dfc6a20a7f132e653ccad986-dirty diff -r 771aea048df6 -r e71513809449 expose-outputs-to-galaxy-history.sh --- a/expose-outputs-to-galaxy-history.sh Tue May 01 10:17:57 2018 -0400 +++ b/expose-outputs-to-galaxy-history.sh Mon May 14 11:39:23 2018 -0400 @@ -10,4 +10,6 @@ cp index.html ${REPORT} fi -cp padj-sorted-significant-genes.txt ${X_J} \ No newline at end of file +if [ -e "padj-sorted-significant-genes.txt" ]; then + cp padj-sorted-significant-genes.txt ${X_J} +fi \ No newline at end of file diff -r 771aea048df6 -r e71513809449 rmarkdown_report.Rmd --- a/rmarkdown_report.Rmd Tue May 01 10:17:57 2018 -0400 +++ b/rmarkdown_report.Rmd Mon May 14 11:39:23 2018 -0400 @@ -59,7 +59,7 @@ # import count data count_data = read.csv(opt$X_A, row.names = 1, header = TRUE) # import column data -coldata = read.csv(opt$X_B, row.names = 1, header = TRUE)[colnames(count_data), ] +coldata = read.csv(opt$X_B, row.names = 1, header = TRUE)[colnames(count_data),,drop=FALSE] ``` ```{r echo=FALSE}