Skip to content

EPG-Renderer 0.16.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 08:21
· 1 commit to main since this release

GeneMapper exports are now read by STRio, a separate package for forensic STR data
that future statistics modules will share. EPG-Renderer carries its own copy (STRio
0.2.1), so nothing has to be installed in addition.

Unchanged

  • Exports that 0.15.1 reads are read the same way: the same samples, markers, alleles,
    heights, sizes and warnings. Images differ from 0.15.1 only in the version number
    they record.
  • The 32,767-RFU limit, the GUI, the command line, the Python API and the batch
    manifest are unchanged.

Changed

  • UTF-16 exports: a file saved as UTF-16 with byte-order mark is now read. Before,
    it was rejected with "Could not detect CSV delimiter".
  • UTF-16 without byte-order mark: the error message now names UTF-16 and the
    encoding option instead of "Could not detect CSV delimiter".
  • Stricter checks of malformed exports, which 0.15.1 accepted silently:
    • two columns whose names differ only in spacing (Sample Name, Sample Name)
      are rejected; before, the second was ignored;
    • areas and the whole-number part of sizes have at most 18 digits;
    • digits of other scripts (١٢٣) are no longer read as numbers, and sizes in
      exponent notation (1e2) or with more than 6 decimal places are rejected.
  • Error messages name a numeric column as it is spelled in the export ('Peak Area 1' instead of 'Area 1') and shorten very long values.
  • Faster reading: exports without quote characters, the usual tab-separated case,
    are read about 45 % faster.

For developers

  • epg_renderer.parser keeps its interface (read_genotypes_table, the five
    exception classes) and delegates reading to the bundled STRio 0.2.1 in
    epg_renderer._vendor.strio. src/epg_renderer/_vendor/VENDORED.json records the
    SHA-256 of every bundled file; python -m tools.vendor_strio <strio checkout>
    replaces the copy and --check compares it with a checkout.
  • Tests: the unchanged 0.15.1 suite passes except
    test_refactoring_structure.test_parser_has_explicit_configuration_header_and_accumulator_types,
    which inspected the reader's former internal classes. It is replaced by
    test_parser_delegates_reading_to_the_bundled_strio_reader. New:
    tests/test_strio_integration.py, including regression tests for a plain
    ValueError that the first 0.16.0 candidate let through for values beyond 4,300
    digits.
  • tools/run_all_tests.py reports in English and lists skipped tests.

Downloads

The same files as in 0.15.1: the Windows GUI EPG-Renderer_GUI_Windows_x64_v0.16.0.zip
with EPG-Renderer-GUI.exe, the standalone epg-render.exe, the source ZIP
EPG-Renderer_v0.16.0.zip, the Python wheel and SHA256SUMS.txt. EPG-Renderer is not
on PyPI; the installation guide describes every download.