Skip to content

Commit

Permalink
update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
willtack committed Aug 27, 2019
1 parent 2fb6425 commit 82d9d48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions run.sh
Expand Up @@ -9,14 +9,14 @@ INPUT_DIR=${FLYWHEEL_BASE}/input
mkdir -p ${INPUT_DIR}
OUTPUT_DIR=${FLYWHEEL_BASE}/output
mkdir -p ${OUTPUT_DIR}
BIDS_DIR=${INPUT_DIR}/bids_dataset
#BIDS_DIR=${INPUT_DIR}/bids_dataset
CONTAINER='[flywheel/presurgicalreport]'
cp ${FLYWHEEL_BASE}/fmriprep_dir ${INPUT_DIR}/bids_dataset/derivatives/fmriprep/fmriprep_dir
#cp ${FLYWHEEL_BASE}/fmriprep_dir ${INPUT_DIR}/bids_dataset/derivatives/fmriprep/fmriprep_dir


# CREATE A BIDS FORMATTED DIRECTORY
# Use fw-heudiconv to accomplish this task
/usr/local/miniconda/bin/python ${FLYWHEEL_BASE}/create_archive_fw_heudiconv.py
/opt/miniconda-latest/bin/python3 ${FLYWHEEL_BASE}/create_archive_fw_heudiconv.py
if [[ $? != 0 ]]; then
echo "$CONTAINER Problem creating archive! Exiting (1)"
exit 1
Expand Down

0 comments on commit 82d9d48

Please sign in to comment.