Skip to content

Commit 2612be8

Browse files
bump version second tr
1 parent d9a7ae5 commit 2612be8

5 files changed

Lines changed: 25 additions & 1393 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to
66
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
# [2.1.8] - 2023-05-09
9+
10+
### Changed
11+
- remove pygam from GUI, set to true as default
12+
813
# [2.1.7] - 2023-05-09
914

1015
### Changed

deeplc/__main__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,16 @@ def run(
171171
dict_cal_divider=dict_divider,
172172
write_library=write_library,
173173
use_library=use_library,
174-
pygam_calibration=pygam_calibration,
175174
batch_num=batch_num,
176175
n_jobs=n_threads,
177176
verbose=verbose,
178177
deeplc_retrain=transfer_learning
179178
)
180-
181179

182180
# Calibrate the original model based on the new retention times
183181
if len(psm_list_cal) > 0:
184182
logger.info("Selecting best model and calibrating predictions...")
183+
logger.info("Initiating transfer learning?")
185184
dlc.calibrate_preds(psm_list=psm_list_cal)
186185

187186
# Make predictions; calibrated or uncalibrated

deeplc/_argument_parser.py

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)