Skip to content

Commit c8dcf14

Browse files
committed
Updated the README.md file and also fixed issue with the nifti_wrapper.py by making the algorithm_args optional to prevent it from overiding algorithm
1 parent d44c6e7 commit c8dcf14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Docker/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ Before running the Docker container, here are the available options for the `Doc
5252
```sh
5353
sudo docker run -it --rm --name TF2.4_IVIM-MRI_CodeCollection \
5454
-v ~/TF2.4_IVIM-MRI_CodeCollection:/usr/src/app \
55-
-v ~/TF2.4_IVIM-MRI_CodeCollection:/usr/app/output \
56-
tf2.4_ivim-mri_codecollection brain.nii.gz brain.bvec brain.bval
55+
-v ~/TF2.4_IVIM-MRI_CodeCollection:/usr/app/output \
56+
tf2.4_ivim-mri_codecollection Downloads/brain.nii.gz Downloads/brain.bvec Downloads/brain.bval \
5757
```
5858

5959
Replace `brain.nii.gz`, `brain.bvec`, and `brain.bval` with the actual file names you want to use.

WrapImage/nifti_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def loop_over_first_n_minus_1_dimensions(arr):
8484
parser.add_argument("bval_file", type=str, help="Path to the b-value file.")
8585
parser.add_argument("--affine", type=float, nargs="+", help="Affine matrix for NIfTI image.")
8686
parser.add_argument("--algorithm", type=str, default="OJ_GU_seg", help="Select the algorithm to use.")
87-
parser.add_argument("algorithm_args", nargs=argparse.REMAINDER, help="Additional arguments for the algorithm.")
87+
parser.add_argument("--algorithm_args", nargs=argparse.REMAINDER, help="Additional arguments for the algorithm.")
8888

8989
args = parser.parse_args()
9090

0 commit comments

Comments
 (0)