@@ -37,18 +37,13 @@ def parse_arguments(gui=False):
3737 },
3838 "model_cal_args" : {"gooey_options" : {'columns' :2 }},
3939 "file_model" : {"widget" : "MultiFileChooser" },
40- "calibration_group" : {
41- "gooey_options" : {
42- "initial_selection" : 0 ,
43- "title" : "Calibration method" ,
44- "full_width" : True ,
45- }
46- },
4740 "pygam_calibration" : {
41+ "widget" : "BlockCheckbox" ,
4842 "gooey_options" : {"checkbox_label" : "Use pyGAM calibration" },
4943 "metavar" : "Use pyGAM calibration"
5044 },
5145 "transfer_learning" : {
46+ "widget" : "BlockCheckbox" ,
5247 "gooey_options" : {"checkbox_label" : "Use transfer learning calibration" },
5348 "metavar" : "Use transfer learning calibration"
5449 },
@@ -133,25 +128,25 @@ def parse_arguments(gui=False):
133128 ** gooey_args ["file_model" ],
134129 )
135130
136- calibration_group = model_cal_args .add_mutually_exclusive_group (
137- ** gooey_args ["calibration_group" ]
138- )
139- calibration_group .add_argument (
140- "--pygam_calibration" ,
141- dest = "pygam_calibration" ,
142- action = "store_true" ,
143- #default=True,
144- help = (
145- "use pyGAM generalized additive model as calibration method; "
146- "recommended; default"
147- ),
148- ** gooey_args ["pygam_calibration" ]
149- )
131+ # calibration_group = model_cal_args.add_mutually_exclusive_group(
132+ # **gooey_args["calibration_group"]
133+ # )
134+ #model_cal_args .add_argument(
135+ # "--pygam_calibration",
136+ # dest="pygam_calibration",
137+ # action="store_true",
138+ # #default=True,
139+ # help=(
140+ # "use pyGAM generalized additive model as calibration method; "
141+ # "recommended; default"
142+ # ),
143+ # **gooey_args["pygam_calibration"]
144+ # )
150145
151- calibration_group .add_argument (
146+ model_cal_args .add_argument (
152147 "--transfer_learning" ,
153148 dest = "transfer_learning" ,
154- action = "store_false " ,
149+ action = "store_true " ,
155150 default = False ,
156151 help = "use transfer learning as calibration method" ,
157152 ** gooey_args ["transfer_learning" ]
0 commit comments