v0.7.4
Focus on
- Add GUI version scripts for scripts/mass::plot-mass and scripts/hplc::plot-hplc
- web_utils.task.TaskPool
What's New
- addon: add new sub-module: plot_utils.bar_utils, as bar-stuff in plot sub-module
- add test/plot_utils/test_bar_utils.py
- addon: add new sub-module: plot_utils.scatter_utils
- addon: add thread mode in web_utils.task.TaskPool
- addon: scripts.scripts_utils: add Command class for making a new way to build a command
- addon: scripts.scripts_utils: add excute_command func for making a new way to excuting a command
- addon: scripts/mass: add new command 'explore-mass' to config args with webGUI via nicegui
- addon: scripts/hplc: add 'explore-hplc': plot HPLC fig with NiceGUI
FIX-BUG
- fix-bug: web_utils.task.TaskPool.close: now stop _async_loop befor close
- fix-bug: webutils.task.TaskPool._run_process_loop: remove task after exception
- fix-bug: web_utils.task.TaskPool get result in a safe way in async mode
- fix-bug: scripts/peptide: mmw: opts_file works with right params
- fix-bug: scripts/hplc: explore-hplc: search peaks using prominence instead height
- fix-bug: scripts/mass: explore-mass: close un-closed fig before plot to avoid multi fig window
- fix-bug: scripts/mass: explore-mass: now use same name as 'plot-mass' to load peaks cache
- fix-bug: scripts/mass: explore-mass: now update labels in make_fig to avoid process error on input
- fix-bug: scripts/mass: explore-mass: fix label color error
- fix-bug: scripts/mass: plot-mass & explore-mass: recovery output path if use_recursive_output
- fix-bug: scripts/mass: explore-mass: make right path for saving fig
FIX-CODE
- fix-code: web_utils.task.TaskPool add process mode
- fix-code: web_utils.task.TaskPool: add count_waiting_tasks and count_done_tasks
- fix-code: web_utils.task.TaskPool: add wait_till
- fix-code: scripts/peptide: mmw: add multi-process and disable-verbose option
- fix-code: scripts/peptide: mmw: support any multi_processs number
- fix-code: scripts/peptide: mmw: add --disable-low-memory option
- fix-code: scripts/peptide: mmw: only apply --disable-verbose option in mutation output
- fix-code: bio.peptide: Peptide.init: set AAs=[] if repr is None
- fix-code: bio.peptide: Peptide.flatten: return seq if inplace is True
- fix-code: scripts/peptide: mmw: mutate each AA instead of entire seq to optimze speed
- fix-code: web_utils.task: TaskPool.add_task: use uuid4 to generate default name instead of f'time.time():.6f'
- fix-code: scripts/extract-dir: skip when dist is source, add option to remove empty dir
- fix-code: plot: save_show: add show param
- fix-code: plot.get_palette accept other mode
Remove
None or a little.
Other Changes
requirements
- add ujson to full set
- add pygame and nicegui to [bio] add nicegui to [full]
Details
完整的更新日志: https://gitee.com/bhm-bob/BA_PY/commits/v0.7.4
Full Changelog: v0.7.3...v0.7.4