Skip to content

Commit

Permalink
fix commit permission denied for home dipy folder
Browse files Browse the repository at this point in the history
  • Loading branch information
gagnonanthony committed Nov 17, 2024
1 parent aee3fa3 commit 6724b20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/connectomics/processes/commit.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ process COMMIT {

if ( params.use_commit2 && !params.use_both_commit ) {
"""
export DIPY_HOME="./"
scil_run_commit.py $h5 $dwi $bval $bvec "${sid}__results_bzs/" --ball_stick --commit2 \
--processes $params.processes_commit --b_thr $params.b_thr --nbr_dir $params.nbr_dir\
$para_diff_arg $iso_diff_arg
Expand All @@ -34,6 +35,7 @@ process COMMIT {
}
else if ( params.use_both_commit ) {
"""
export DIPY_HOME="./"
scil_run_commit.py $h5 $dwi $bval $bvec "${sid}__results_bzs_1/" --ball_stick --commit2 \
--processes $params.processes_commit --b_thr $params.b_thr --nbr_dir $params.nbr_dir\
$para_diff_arg $iso_diff_arg
Expand All @@ -45,6 +47,7 @@ process COMMIT {
}
else {
"""
export DIPY_HOME="./"
scil_run_commit.py $h5 $dwi $bval $bvec "${sid}__results_bzs/" --in_peaks $peaks \
--processes $params.processes_commit --b_thr $params.b_thr --nbr_dir $params.nbr_dir $ball_stick_arg \
$para_diff_arg $iso_diff_arg $perp_diff_arg
Expand Down Expand Up @@ -76,6 +79,7 @@ process COMMIT_ON_TRK {
perp_diff_arg="--perp_diff $params.perp_diff"
}
"""
export DIPY_HOME="./"
scil_run_commit.py $trk_h5 $dwi $bval $bvec "${sid}__results_bzs/" --in_peaks $peaks \
--processes $params.processes_commit --b_thr $params.b_thr --nbr_dir $params.nbr_dir $ball_stick_arg \
--para_diff $params.para_diff $perp_diff_arg --iso_diff $params.iso_diff
Expand Down

0 comments on commit 6724b20

Please sign in to comment.