Skip to content

Remove dead motif and figure code flagged by vulture - #573

Merged
aarmey merged 1 commit into
mainfrom
vulture-cleanup
Nov 14, 2026
Merged

aarmey merged 1 commit into
mainfrom
vulture-cleanup

Conversation

@aarmey

@aarmey aarmey commented Nov 14, 2026

Copy link
Copy Markdown
Member

Summary

Removed unused functions and their now-unused imports identified with vulture:

  • ddmc/motifs.py: Removed unused legacy proteome-mapping pipeline (generate_kinase_motifs, find_motif, match_protein_names) and updated the module docstring.
  • ddmc/figures/figureM3.py: Removed unused plot_fig_3c().
  • ddmc/figures/figureM6.py: Removed unmaintained/unused make_EGFRvolcano_plot() along with unused numpy, pandas, visuz, mannwhitneyu, and multipletests imports.
  • ddmc/figures/figureM7.py: Removed unmaintained/unused plot_ImmuneGOs() along with unused textwrap, pandas, and seaborn imports.

Verification

  • uv run ruff format --check ddmc: 32 files already formatted
  • uv run ruff check ddmc: All checks passed
  • uv run ty check ddmc: All checks passed
  • uvx vulture ddmc: Only expected false positives remain (converged_, n_iter_, genFigure)
  • uv run pytest -v: 89 passed

@aarmey
aarmey merged commit 19e591b into main Nov 14, 2026
2 checks passed
@aarmey
aarmey deleted the vulture-cleanup branch November 14, 2026 18:32
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