Skip to content

Commit

Permalink
Merge pull request #173 from jhlegarreta/RemoveVersionFromScriptArgPa…
Browse files Browse the repository at this point in the history
…rser

BUG: Remove non-existing `version` keyword parameter in script argparser
  • Loading branch information
ljod authored Oct 19, 2023
2 parents f776b2c + 743d214 commit 5b1f894
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions bin/wm_compare_vtks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def _build_arg_parser():

parser = argparse.ArgumentParser(
description="Compare two tractography files to see how much registration has changed the points. The files must have the exact same size and lines and points, e.g. the original file and the file that results from applying a transform to a file.",
epilog="Written by Lauren O\'Donnell, [email protected]. Please reference \"O'Donnell, Lauren J., and C-F. Westin. Automatic tractography segmentation using a high-dimensional white matter atlas. Medical Imaging, IEEE Transactions on 26.11 (2007): 1562-1575.\"",
version='1.0')
epilog="Written by Lauren O\'Donnell, [email protected]. Please reference \"O'Donnell, Lauren J., and C-F. Westin. Automatic tractography segmentation using a high-dimensional white matter atlas. Medical Imaging, IEEE Transactions on 26.1 (2007): 1562-1575.\"")
parser.add_argument(
'inputFile1',
help='A file of whole-brain tractography as vtkPolyData (.vtk or .vtp).')
Expand Down
3 changes: 1 addition & 2 deletions utilities/wm_flatten_length_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def _build_arg_parser():

parser = argparse.ArgumentParser(
description="Samples fibers such that the output distribution of fiber lengths is approximately flat, within the input length range.",
epilog="Written by Lauren O\'Donnell, [email protected]",
version='1.0')
epilog="Written by Lauren O\'Donnell, [email protected]")
parser.add_argument(
'inputDirectory',
help='Contains whole-brain tractography as vtkPolyData file(s).')
Expand Down
3 changes: 1 addition & 2 deletions utilities/wm_statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ def _build_arg_parser():

parser = argparse.ArgumentParser(
description="Compute requested statistics comparing groups in the input groups file. Please verify your input by running wm_quality_control_cluster measurements before running this program.",
epilog="Written by Lauren O\'Donnell, [email protected]. Please reference \"O'Donnell, Lauren J., and C-F. Westin. Automatic tractography segmentation using a high-dimensional white matter atlas. Medical Imaging, IEEE Transactions on 26.11 (2007): 1562-1575.\"",
version='1.0')
epilog="Written by Lauren O\'Donnell, [email protected]. Please reference \"O'Donnell, Lauren J., and C-F. Westin. Automatic tractography segmentation using a high-dimensional white matter atlas. Medical Imaging, IEEE Transactions on 26.11 (2007): 1562-1575.\"")
parser.add_argument(
'inputDirectory',
help='A directory of .csv or txt measurement files from Slicer tractography measurements.')
Expand Down
3 changes: 1 addition & 2 deletions utilities/wm_statistics_export_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ def _build_arg_parser():

parser = argparse.ArgumentParser(
description="Export all subjects selected measures into one excel-readable file for use in statistics programs. Please verify your input by running wm_quality_control_cluster measurements before running this program.",
epilog="Written by Lauren O\'Donnell, [email protected]. Please reference \"O'Donnell, Lauren J., and C-F. Westin. Automatic tractography segmentation using a high-dimensional white matter atlas. Medical Imaging, IEEE Transactions on 26.11 (2007): 1562-1575.\"",
version='1.0')
epilog="Written by Lauren O\'Donnell, [email protected]. Please reference \"O'Donnell, Lauren J., and C-F. Westin. Automatic tractography segmentation using a high-dimensional white matter atlas. Medical Imaging, IEEE Transactions on 26.11 (2007): 1562-1575.\"")
parser.add_argument(
'inputDirectory',
help='A directory of .csv or txt measurement files from Slicer tractography measurements.')
Expand Down
3 changes: 1 addition & 2 deletions utilities/wm_transform_polydata.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ def _build_arg_parser():

parser = argparse.ArgumentParser(
description="Applies preprocessing to input directory. Downsamples, removes short fibers. Preserves tensors and scalar point data along retained fibers.",
epilog="Written by Lauren O\'Donnell, [email protected]",
version='1.0')
epilog="Written by Lauren O\'Donnell, [email protected]")
parser.add_argument(
'inputDirectory',
help='Contains whole-brain tractography as vtkPolyData file(s).')
Expand Down

0 comments on commit 5b1f894

Please sign in to comment.