# Mrtransform input error

**URL:** <https://community.mrtrix.org/t/mrtransform-input-error/4868>\
**Category:** Uncategorized\
**Created:** [May 11, 2021, 11:25pm UTC](https://community.mrtrix.org/t/mrtransform-input-error/4868 "2021-05-11T23:25:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shai\_P](https://community.mrtrix.org/user_avatar/community.mrtrix.org/shai_p/32/3289_2.png) [@Shai\_P](https://community.mrtrix.org/u/Shai_P)\
**Post date:** [May 11, 2021, 11:25pm UTC](https://community.mrtrix.org/t/mrtransform-input-error/4868/1 "2021-05-11T23:25:56Z")

</div>

I am following the BATMAN tutorial and at the final step of co-registering the parcellation image of the HCPMMP atlas to dwi space, I get the following error:

I am not sure why; `mrtransform` works if i keep it to 2 arguments

```auto
(mrtrix3_fsl) -bash-4.1$ mrtransform ${dir_out_sub}/hcpmmp1_parcels_nocoreg.mif –linear ${subject}_diff2struct_mrtrix.txt –inverse –datatype uint32 ${dir_out_sub}/hcpmmp1_parcels_coreg.mif
mrtransform: [ERROR] Expected exactly 2 arguments (7 supplied)
mrtransform: [ERROR] Usage: mrtransform input output
mrtransform: [ERROR] Yours: mrtransform /path/5356/hcpmmp1_parcels_nocoreg.mif –linear 5356_diff2struct_mrtrix.txt –inverse –datatype uint32 /path/5356/hcpmmp1_parcels_coreg.mif

```

---

<div class="post-metadata">

**Author:** ![jdtournier](https://community.mrtrix.org/user_avatar/community.mrtrix.org/jdtournier/32/2594_2.png) [@jdtournier](https://community.mrtrix.org/u/jdtournier)\
**Post date:** [May 12, 2021, 9:08am UTC](https://community.mrtrix.org/t/mrtransform-input-error/4868/2 "2021-05-12T09:08:11Z")

</div>

I think this might be [the dreaded long-dash issue](https://community.mrtrix.org/t/error-error-compiling-eigen3-application-for-mac/4608/2) again… Does replacing the dashes manually fix the problem…?

---

<div class="post-metadata">

**Author:** ![Shai\_P](https://community.mrtrix.org/user_avatar/community.mrtrix.org/shai_p/32/3289_2.png) [@Shai\_P](https://community.mrtrix.org/u/Shai_P)\
**Post date:** [May 12, 2021, 9:14pm UTC](https://community.mrtrix.org/t/mrtransform-input-error/4868/3 "2021-05-12T21:14:35Z")

</div>

Yep…wrong dash format 😐
