Version 0.4.1 — Bugfix and documentation polish
What's Changed
ResultsCollector.save()now appends.xlsxonly when the supplied filename does not already end with.xlsx, preventing double-extension filenames such asresults.xlsx.xlsx- Unit test
test_save_filename_with_xlsx_extensionadded to verify that a filename passed with.xlsxalready present is written without modification - Docstrings improved in
markers.pyandresults.py - README: collapsible sections added for BibTeX citation block, Revision History, Developer installation, and Developer update; section captions and markup refined; recommended package/environment manager updated to
Miniforge midpoint()now raisesValueErrorwith a descriptive message (data range and threshold value included) when the threshold is never crossed, replacing a silentIndexErrorarea_cog()now raisesValueErrorwith a descriptive message when the baseline is never crossed from below, or when the area under the curve is zeroprepare_part_data()issueswarnings.warn()instead ofprint()when correcting a duplicate timestamp, so the message integrates with standard Python warning filters- Unused imports removed from
markers.py(phase_to_string) andutils.py(os,scipy.optimize) - Unit tests added:
test_threshold_never_crossed_raises(TestMidpoint),test_baseline_never_crossed_raisesandtest_zero_area_raises
(TestAreaCog) pyproject.toml:keywords,classifiers, andDocumentationURL added
See the README for installation instructions and getting started.