Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Pylint on user parameter default
Browse files Browse the repository at this point in the history
  • Loading branch information
csudre committed Jul 3, 2019
1 parent 38961d9 commit 2a125fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions niftynet/utilities/user_parameters_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ def add_input_data_args(parser):

parser.add_argument(
"--to_ohe",
help="Indicates if the data provided in the csv should be one-hot-encoded."
help="Indicates if the data provided in the csv should be "
"one-hot-encoded."
"This is only valid when the csv_data_file has 2 columns",
type=str2boolean,
default=False)
Expand Down Expand Up @@ -352,7 +353,7 @@ def add_network_args(parser):
help="How to sample patches from each loaded image:"
" 'uniform': fixed size uniformly distributed,"
" 'resize': resize image to the patch size.",
choices=['uniform', 'resize', 'balanced', 'weighted','patch'],
choices=['uniform', 'resize', 'balanced', 'weighted', 'patch'],
default='uniform')

parser.add_argument(
Expand Down

0 comments on commit 2a125fe

Please sign in to comment.