Skip to content

Commit c5f045b

Browse files
committed
bf for pdf output + version bump.
1 parent e42fe2d commit c5f045b

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

afq/run

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ then
7575
echo "$CONTAINER FAILED: No results found in output directory... Exiting"
7676
exit 1
7777
else
78+
7879
# Process figures
7980
FIGURES_DIR=$AFQ_DIR/figures
8081
PDF_DIR=$AFQ_DIR/pdfs
@@ -115,17 +116,20 @@ else
115116
fi
116117

117118
# Copy pdf, csv, mat, gif, and json files to output
118-
f=$(find "$PDF_DIR"/* -maxdepth 0 -name "*.png")
119+
f=$(find "$PDF_DIR"/* -maxdepth 0 -name "*.pdf")
119120
if [[ -n ${f} ]]; then
120121
cp $PDF_DIR/*.pdf $OUTPUT_DIR
121122
fi
123+
122124
cp $AFQ_DIR/csv_files/*.csv $OUTPUT_DIR
123125
cp $AFQ_DIR/*.mat $AFQ_DIR/*.json $OUTPUT_DIR
126+
124127
if [[ -e $FIGURES_DIR/000_RotatingFibers.gif ]]; then
125128
cp $FIGURES_DIR/000_RotatingFibers.gif $OUTPUT_DIR/AFQ_Fiber_Rendering.gif
126129
else
127130
echo -e "[$CONTAINER] GIF image not found!"
128131
fi
132+
129133
# Copy DTIINIT input/ouputs to AFQ
130134
cp -a $AFQ_INPUT_DIR $AFQ_DIR
131135

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"source": "https://github.com/scitran-apps/afq-pipline",
1010
"license": "GPL-2.0",
1111
"flywheel": "0",
12-
"version": "1.0.1",
12+
"version": "1.0.2",
1313
"custom": {
14-
"docker-image": "scitran/afq-pipeline:v1.0.1"
14+
"docker-image": "scitran/afq-pipeline:1.0.2"
1515
},
1616
"inputs": {
1717
"anatomical": {

0 commit comments

Comments
 (0)