fix: harden edge-case handling and clean up packaging#33
Merged
Conversation
Bump version to 1.2.1 and bundle a set of robustness fixes, packaging
cleanup, and a CI guard against version drift.
Robustness fixes:
- cli: use shlex.split() for --usher-args so quoted/escaped args parse
correctly
- utils: abort with a clear error when the reference FASTA has != 1
record
- utils: handle PermissionError (non-executable binary) in
run_subprocess_command
- utils: extract mutation position via regex in sortFun instead of
string slicing
- ref_muts: abort when no samples match the alignment instead of
failing on an
empty root sequence; simplify consensus derivation and
empty-mutation handling
- plot_barcode: drop unparseable positions and skip the plot when
nothing remains
- generate_barcodes: dedupe clades by index (keep last) instead of
full-row dedup
- format_tree: strip all whitespace when reading the newick line
- auspice_tree_to_table: default cumulative_branch_length so child
recursion is
safe; exclude "name" from attributes to avoid a duplicate 'name'
column
Packaging / CI:
- pyproject: drop unused deps (pathlib, six, numpy)
- MANIFEST.in: drop conda build files and missing assets dir
- add scripts/check_version_consistency.py and a CI job to keep
pyproject.toml
and __init__.py versions in sync
Signed-off-by: Praneeth <pgangavarapu@scripps.edu>
gp201
enabled auto-merge (squash)
July 18, 2026 22:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump version to 1.2.1 and bundle a set of robustness fixes, packaging cleanup, and a CI guard against version drift.
Robustness fixes:
Packaging / CI: