Skip to content

Commit

Permalink
Merge branch 'apply_transform_to_bvecs' of github.com:karanphil/scilp…
Browse files Browse the repository at this point in the history
…y into apply_transform_to_bvecs
  • Loading branch information
karanphil committed Mar 20, 2023
2 parents 63f827f + 64e9183 commit f221430
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/scil_apply_transform_to_bvecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def main():
assert_inputs_exist(parser, [args.in_bvecs, args.in_transfo])
assert_outputs_exist(parser, args, args.out_bvecs)

transfo = load_matrix_in_any_format(args.in_transfo)
transfo = load_matrix_in_any_format(args.in_transfo)[:3, :3]

if args.inverse:
transfo = np.linalg.inv(transfo)

Expand Down

0 comments on commit f221430

Please sign in to comment.