Skip to content

Release v1.3.0

Latest
Compare
Choose a tag to compare
@Shettland Shettland released this 27 Dec 08:46
2d1f7a0

Release summary for relecov-tools v1.3.0 - 2024-12-23

Modules

  • Included files-folder option for read-lab-metadata when no samples_data.json is provided.
  • Included folder_names multiple argument for pipeline_manager to specify names of folders to process.
  • Included send-mail module: Automated email notification module to generate and send validation reports.

Added Enhancements

  • logs-to-excel: Now handles logs with multiple keys and includes folder logs in a new sheet called Global Report.
  • Improved logging messages for duplicated sample IDs in read-lab and download modules.
  • New method string_to_date() in utils to search for a date pattern within a string.
  • Integrated jinja2 for template rendering in the mail module.
  • Mail module configurations added to configuration.json.
  • Added static method get_invalid_count in log_summary.py.
  • Included try-except for every module to catch unexpected errors in main.py.
  • Added, removed, and renamed collecting institutions and their cities.
  • Updated contact directory to integrate additional institution data.
  • Added support for multiple recipients in the email_receiver field.
  • Introduced a new Jinja template for successful and error validation reports.
  • Modified module logic to dynamically select and render email templates based on user input.
  • Enhanced email formatting and added a default CC to mails.
  • Validate module now takes an optional argument to select the name of the sheet to check in the Excel file.

Fixes

  • Fixed python linting workflow: It was still waiting for .py files.
  • files-folder argument: Now works with relative paths in read-lab-metadata.
  • check-gzip-integrity(): Now catches any exception in utils.py as it only needs to return True when the file can be decompressed.
  • validate module: Does not crash when no METADATA_LAB sheet is found.
  • Fixed email module.

Changed

  • Pipeline-manager: fields_to_split is now in configuration.json to group samples by those fields.
  • Homogenized style of report global report sheet in logs-excel.