FOI-Bioinformatics / nanometa_live

A streamlined workflow and GUI for real-time species identification and pathogen characterization via nanopore sequencing data. Engineered for precision, speed, and user-friendliness, with offline functionality post-initialization.
GNU General Public License v3.0
15 stars 2 forks source link

Enhancements and Bug Fixes in nanometa_live #61

Closed druvus closed 11 months ago

druvus commented 11 months ago

This release v0.4.1 of nanometa_live introduces a minor version bump along with critical bug fixes and improvements in the configuration and data handling. The changes aim to enhance the stability and usability of the tool, especially in scenarios involving external database configurations.

Changes

  1. Version Update: Updated the package version from 0.4.0 to 0.4.1 in __init__.py.
  2. Configuration Handling Improvement:
    • Updated config.yaml to initialize external_kraken2_db with an empty string. This change resolves the issue where an unset external_kraken2_db led to an AttributeError.
  3. Data Utility Modification:
    • Refactored filter_exact_match in data_utils.py for improved error handling and logging.
  4. External Database Handling in nanometa_prepare.py:
    • Modified the handling of external_kraken2_db to prevent NoneType errors.
    • Added directory creation logic for kraken2_databases, ensuring the necessary directory exists before attempting file operations.