Skip to content

v0.7.4

Compare
Choose a tag to compare
@BHM-Bob BHM-Bob released this 10 May 13:14
· 356 commits to main since this release

Focus on

  1. Add GUI version scripts for scripts/mass::plot-mass and scripts/hplc::plot-hplc
  2. web_utils.task.TaskPool

What's New

  1. addon: add new sub-module: plot_utils.bar_utils, as bar-stuff in plot sub-module
  2. add test/plot_utils/test_bar_utils.py
  3. addon: add new sub-module: plot_utils.scatter_utils
  4. addon: add thread mode in web_utils.task.TaskPool
  5. addon: scripts.scripts_utils: add Command class for making a new way to build a command
  6. addon: scripts.scripts_utils: add excute_command func for making a new way to excuting a command
  7. addon: scripts/mass: add new command 'explore-mass' to config args with webGUI via nicegui
  8. addon: scripts/hplc: add 'explore-hplc': plot HPLC fig with NiceGUI

FIX-BUG

  1. fix-bug: web_utils.task.TaskPool.close: now stop _async_loop befor close
  2. fix-bug: webutils.task.TaskPool._run_process_loop: remove task after exception
  3. fix-bug: web_utils.task.TaskPool get result in a safe way in async mode
  4. fix-bug: scripts/peptide: mmw: opts_file works with right params
  5. fix-bug: scripts/hplc: explore-hplc: search peaks using prominence instead height
  6. fix-bug: scripts/mass: explore-mass: close un-closed fig before plot to avoid multi fig window
  7. fix-bug: scripts/mass: explore-mass: now use same name as 'plot-mass' to load peaks cache
  8. fix-bug: scripts/mass: explore-mass: now update labels in make_fig to avoid process error on input
  9. fix-bug: scripts/mass: explore-mass: fix label color error
  10. fix-bug: scripts/mass: plot-mass & explore-mass: recovery output path if use_recursive_output
  11. fix-bug: scripts/mass: explore-mass: make right path for saving fig

FIX-CODE

  1. fix-code: web_utils.task.TaskPool add process mode
  2. fix-code: web_utils.task.TaskPool: add count_waiting_tasks and count_done_tasks
  3. fix-code: web_utils.task.TaskPool: add wait_till
  4. fix-code: scripts/peptide: mmw: add multi-process and disable-verbose option
  5. fix-code: scripts/peptide: mmw: support any multi_processs number
  6. fix-code: scripts/peptide: mmw: add --disable-low-memory option
  7. fix-code: scripts/peptide: mmw: only apply --disable-verbose option in mutation output
  8. fix-code: bio.peptide: Peptide.init: set AAs=[] if repr is None
  9. fix-code: bio.peptide: Peptide.flatten: return seq if inplace is True
  10. fix-code: scripts/peptide: mmw: mutate each AA instead of entire seq to optimze speed
  11. fix-code: web_utils.task: TaskPool.add_task: use uuid4 to generate default name instead of f'time.time():.6f'
  12. fix-code: scripts/extract-dir: skip when dist is source, add option to remove empty dir
  13. fix-code: plot: save_show: add show param
  14. fix-code: plot.get_palette accept other mode

Remove

None or a little.

Other Changes

requirements

  1. add ujson to full set
  2. 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