Commit 7282f2a
Refactor commonly-used classes to importable modules (issue #1018)
Move classes from command files to dedicated modules for cleaner imports:
- ReadIdStore, CoordMapper, CoordMapper2Seqs, CoordMapperError -> core/misc.py
- TaxonomyDb, TaxIdError, and helper functions -> classify/taxonomy.py (new)
- IlluminaDirectory, RunInfo, SampleSheet, SampleSheetError -> core/illumina_utils.py (new)
Original files re-export classes via top-level imports for backwards compatibility.
Also fixes QCError import path in taxon_filter.py.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 2c24c73 commit 7282f2a
10 files changed
Lines changed: 2089 additions & 2331 deletions
File tree
- src/viral_ngs
- classify
- core
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
0 commit comments