Skip to content

Dev#1

Merged
tmsincomb merged 2 commits intomainfrom
dev
Feb 27, 2026
Merged

Dev#1
tmsincomb merged 2 commits intomainfrom
dev

Conversation

@tmsincomb
Copy link
Owner

@tmsincomb tmsincomb commented Feb 27, 2026

added all black classic mode and fixed pypi readme images

- Split monolithic tview.py into bam.py, fasta.py, renderer.py, models.py, config.py
- Add palette.yaml and style.yaml for externalized configuration
- Use absolute GitHub URLs for README images so they render on PyPI
- Update test outputs and add test_config.py
Adds a monochrome output mode that renders all text in black with no
colored highlights (no mismatch yellow, no insertion purple, no
palette-colored bases). Structural conventions (dots, commas, lowercase,
dashes) are preserved. Includes two new pytest cases and README docs.
@tmsincomb tmsincomb merged commit 955e72a into main Feb 27, 2026
8 checks passed
tmsincomb pushed a commit that referenced this pull request Feb 28, 2026
Bugs fixed:
- README API examples now use correct `columns` parameter (#1)
- Gaps render in grey (GAP_COLOR) instead of black (TEXT_COLOR) (#2)

Testing:
- Added test_bam.py with 17 tests: 12 unit tests for CIGAR ops
  (match, insertion, deletion, soft-clip, ref-skip, windowing,
  complex mixed CIGARs) + 5 integration tests using example BAMs (#3)

CI/CD:
- Added lint job (black --check, isort --check) to CI workflow (#4)
- Added Python 3.12 to test matrix (#10)

Config & docs:
- Fixed homepage URLs to tmsincomb/tview (#5)
- Added [compose] optional-dependency extra for patchworklib,
  moved patchworklib from core deps since it's not imported (#6)
- Replaced print() with logging.info() in renderer (#7)
- mono_sm tick-label font now uses 0.8x fontsize (#8)
- Panel.ins_columns uses field(default_factory=set) (#11)

Test output images updated to reflect gap color and font changes.

https://claude.ai/code/session_0131auyCkmPyg7DpokpeA1Vw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant