From ba69f6e58ffa337e8f8aa9aec2efb18fb0faaf77 Mon Sep 17 00:00:00 2001 From: RobbinBouwmeester Date: Tue, 9 May 2023 09:54:53 +0200 Subject: [PATCH] fix calibration default GUI --- CHANGELOG.md | 5 +++++ deeplc/_argument_parser.py | 7 ++++--- setup.py | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f10ed44..d52d3cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# [2.1.6] - 2023-05-09 + +### Changed +- fix setting GUI calibration default + # [2.1.5] - 2023-05-08 ### Changed diff --git a/deeplc/_argument_parser.py b/deeplc/_argument_parser.py index 0d9f098..39179a4 100644 --- a/deeplc/_argument_parser.py +++ b/deeplc/_argument_parser.py @@ -139,7 +139,8 @@ def parse_arguments(gui=False): calibration_group.add_argument( "--pygam_calibration", dest="pygam_calibration", - default=True, + action="store_true", + #default=True, help=( "use pyGAM generalized additive model as calibration method; " "recommended; default" @@ -150,8 +151,8 @@ def parse_arguments(gui=False): calibration_group.add_argument( "--transfer_learning", dest="transfer_learning", - #action="store_false", - default=False, + action="store_false", + #default=False, help="use transfer learning as calibration method", **gooey_args["transfer_learning"] ) diff --git a/setup.py b/setup.py index 4e8b8a9..64830e3 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='deeplc', - version='2.1.5', + version='2.1.6', license='apache-2.0', description='DeepLC: Retention time prediction for (modified) peptides using Deep Learning.', long_description=LONG_DESCRIPTION,