d77955ba3cbf7c83b3c3d2e13a6709fcefe17a5d,niftynet/utilities/user_parameters_parser.py,,run,#,23
Before Change
except ValueError:
raise ValueError(
"{} requires [{}] section in the config file".format(
meta_parser.prog, CUSTOM_SECTIONS.get(meta_parser.prog, None) ))
// using configuration as default, and parsing all command line arguments
args_remaining = args_from_cmd
After Change
meta_parser.add_argument("-c", "--conf",
help="Specify configurations from a file",
metavar="File", )
meta_parser.add_argument("-a", "--application_name",
help="Specify application name",
default="", )
meta_args, args_from_cmd = meta_parser.parse_known_args()
print(version_string)
// read configurations, to be parsed by sections
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances Project Name: NifTK/NiftyNet
Commit Name: d77955ba3cbf7c83b3c3d2e13a6709fcefe17a5d
Time: 2017-08-22
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_parser.py
Class Name:
Method Name: run
Project Name: GoogleCloudPlatform/ml-on-gcp
Commit Name: 8079adae33711e4886a625df3f0ae9860739f7b9
Time: 2019-09-03
Author: yuhanliu@google.com
File Name: example_zoo/tools/process.py
Class Name:
Method Name:
Project Name: nutonomy/nuscenes-devkit
Commit Name: 1fd297c5cc72ed18c5d9932b1f465824df75d48d
Time: 2018-10-03
Author: holger@nutonomy.com
File Name: python-sdk/examples/export_pointclouds_as_obj.py
Class Name:
Method Name: