Skip to content
Snippets Groups Projects
Commit e25f3925 authored by Matthew Hu's avatar Matthew Hu
Browse files

Pandoc now uses singularity to run

Verify you're on login node 1/3 or you won't have access to Jeff's public
parent 058d8471
No related branches found
No related tags found
1 merge request!2Refactored to use splunk
......@@ -4,8 +4,12 @@ function generate_docx(){
APP_DIR=$DIR/output/current/$APP
IN_FILE=$APP_DIR/report.md
OUT_FILE=$DATA_DIR/$APP-$SHORT_DATE.docx
#pandoc
pandoc -f markdown -t docx -o $OUT_FILE $IN_FILE
img=/users/PZS0714/johrstrom/Public/images/sing/pandoc.sif
pandoc_args="-f markdown -t docx -o $OUT_FILE $IN_FILE"
singularity run $img $pandoc_args
}
function main(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment