AllenInstitute / AllenInstitute/spatial_compare

dependency diet and upgrades

Open
#52 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
7
Forks
8
Avg merge
2h 24m
Merged PRs (30d)
1

Description

we have a few heavy dependencies that have minimal usage:

  • plotly used for the sankey diagram in segmentation comparison
  • seaborn used for regplot and boxplot, both of which can be (neatly?) implemented with matplotlib. unfortunately it's also a dependency in ...
  • scanpy which we use for de novo clustering. we could makescanpy optional and delayed import only for de novo clustering. this would also clear out statsmodels
  • jupyter this is sort of a matter of taste, but it's nicer to have it as an extra during pip install.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the dependency declarations and the segmentation-comparison, plotting, and de novo-clustering entry points mentioned in the issue, including how Jupyter is installed. Confirm which dependencies can be removed or made optional while preserving the Sankey, regplot, boxplot, and clustering workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, matplotlib, plotly
Domain
data, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.