Skip to content

Commit 7282f2a

Browse files
dpark01claude
andcommitted
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/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
from . import kraken2
99
from . import krona
1010
from . import last
11+
from . import taxonomy

0 commit comments

Comments
 (0)