Skip to content

Commit e98a547

Browse files
committed
touched up gen-script
1 parent fed4ff5 commit e98a547

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

nipype-auto-conv/generate

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,16 @@ git fetch origin auto-conv || echo "Wasn't able to fetch origin/auto-conv, pleas
1717
git checkout -b ${CURRENT_BRANCH}-auto-conv
1818
git reset origin/auto-conv
1919
git add $conv_dir/specs
20-
git commit -m "Update auto-conv specs with latest changes from '$CURRENT_BRANCH'"
20+
git commit -m "Update auto-conv specs with latest changes from '$CURRENT_BRANCH'" || echo true
2121
# Ignore any other changes outside the auto-conv directory
2222
git reset --hard HEAD
2323

24-
2524
echo "Running nipype2pydra conversion..."
2625
nipype2pydra convert $conv_dir/specs $conv_dir/..
2726

28-
2927
echo "Committing converted tasks to ${CURRENT_BRANCH}-auto-conv..."
3028
git add pydra/tasks/ants
31-
git commit -m "Auto-converted Nipype tasks to Pydra tasks"
32-
33-
echo "Updating auto-conv branch with latest changes..."
34-
git checkout auto-conv
35-
git merge --ff-only ${CURRENT_BRANCH}-auto-conv
29+
git commit -m "Auto-converted Nipype tasks to Pydra tasks" || echo true
3630

3731
echo "Rebasing '$CURRENT_BRANCH' to apply changes..."
3832
git checkout $CURRENT_BRANCH

0 commit comments

Comments
 (0)