Fixed fixed and moving arg CLI to make OS-invariant
Browse files- ddmr/main.py +2 -2
ddmr/main.py
CHANGED
|
@@ -171,9 +171,9 @@ def main():
|
|
| 171 |
parser = argparse.ArgumentParser()
|
| 172 |
parser.add_argument('-f', '--fixed', type=str, help='Path to fixed image file (NIfTI)')
|
| 173 |
parser.add_argument('-m', '--moving', type=str, help='Path to moving segmentation image file (NIfTI)', default=None)
|
| 174 |
-
parser.add_argument('-
|
| 175 |
default=None)
|
| 176 |
-
parser.add_argument('-
|
| 177 |
parser.add_argument('-o', '--outputdir', type=str, help='Output directory', default='./Registration_output')
|
| 178 |
parser.add_argument('-a', '--anatomy', type=str, help='Anatomical structure: liver (L) (Default) or brain (B)',
|
| 179 |
default='L')
|
|
|
|
| 171 |
parser = argparse.ArgumentParser()
|
| 172 |
parser.add_argument('-f', '--fixed', type=str, help='Path to fixed image file (NIfTI)')
|
| 173 |
parser.add_argument('-m', '--moving', type=str, help='Path to moving segmentation image file (NIfTI)', default=None)
|
| 174 |
+
parser.add_argument('-fs', '--fixedsegm', type=str, help='Path to fixed image segmentation file(NIfTI)',
|
| 175 |
default=None)
|
| 176 |
+
parser.add_argument('-ms', '--movingsegm', type=str, help='Path to moving image file (NIfTI)')
|
| 177 |
parser.add_argument('-o', '--outputdir', type=str, help='Output directory', default='./Registration_output')
|
| 178 |
parser.add_argument('-a', '--anatomy', type=str, help='Anatomical structure: liver (L) (Default) or brain (B)',
|
| 179 |
default='L')
|