-
Notifications
You must be signed in to change notification settings - Fork 1
Add Parquet export tests #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
cornhundred
merged 1 commit into
DEGA-294-rename-Matrix-Clustergram
from
codex/create-unit-tests-for-matrix.export_viz_parquet
Jul 7, 2025
Merged
Add Parquet export tests #116
cornhundred
merged 1 commit into
DEGA-294-rename-Matrix-Clustergram
from
codex/create-unit-tests-for-matrix.export_viz_parquet
Jul 7, 2025
Conversation
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
cornhundred
added a commit
that referenced
this pull request
Jul 9, 2025
* renaming class * clustergram registry * linting fixes * removed print statement * removed name logic * Add Parquet export support for Clustergram widget (#111) * manually bringing in parquet processing * big int * fixing bug with parquet matrix processing * fix index parsing bug * removed print and console logs * added mat as kwarg * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update js/read_parquet/network_from_parquet.js Co-authored-by: Copilot <[email protected]> * implemnting astype change --------- Co-authored-by: Copilot <[email protected]> * Update src/celldega/clust/matrix.py more efficient hash for sparse data Co-authored-by: Copilot <[email protected]> * ruff fix * docs: add parquet_data usage (#117) * Add Clustergram parquet widget tests (#116) * upadted test * fixed test lint * ruff format * format JS * added name to docstring * release 0.13.0a4 --------- Co-authored-by: Copilot <[email protected]>
cornhundred
added a commit
that referenced
this pull request
Jul 11, 2025
* renaming class * clustergram registry * linting fixes * removed print statement * removed name logic * Add Parquet export support for Clustergram widget (#111) * manually bringing in parquet processing * big int * fixing bug with parquet matrix processing * fix index parsing bug * removed print and console logs * added mat as kwarg * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update js/read_parquet/network_from_parquet.js Co-authored-by: Copilot <[email protected]> * implemnting astype change --------- Co-authored-by: Copilot <[email protected]> * Update src/celldega/clust/matrix.py more efficient hash for sparse data Co-authored-by: Copilot <[email protected]> * ruff fix * docs: add parquet_data usage (#117) * Add Clustergram parquet widget tests (#116) * upadted test * fixed test lint * ruff format * format JS * Allow numeric and categorical attributes * fixed loading numerical attr * added pring * Deprecate JSON network export (#128) * renamed attrs attr * numerical attributes starting to viz * changed default colors * lint * swapped colors * use col_attr/row_attr to filter AnnData.obs/var * added tooltip attribute name * changed default behavior of categories in DataFrame and AnnData API * adjusted warnings/errors for matrix_cell_thresh * Add finalize cleanup for widgets (#134) * format * fixed comment on colors * added example notebook * added example notebook * modifie notebook --------- Co-authored-by: Copilot <[email protected]>
cornhundred
added a commit
that referenced
this pull request
Jul 17, 2025
* renaming class * clustergram registry * linting fixes * removed print statement * removed name logic * Add Parquet export support for Clustergram widget (#111) * manually bringing in parquet processing * big int * fixing bug with parquet matrix processing * fix index parsing bug * removed print and console logs * added mat as kwarg * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update js/read_parquet/network_from_parquet.js Co-authored-by: Copilot <[email protected]> * implemnting astype change --------- Co-authored-by: Copilot <[email protected]> * Update src/celldega/clust/matrix.py more efficient hash for sparse data Co-authored-by: Copilot <[email protected]> * ruff fix * docs: add parquet_data usage (#117) * Add Clustergram parquet widget tests (#116) * upadted test * fixed test lint * ruff format * format JS * Refine Landscape metadata handling * feat(viz): support AnnData in Landscape (#131) * adding print statement * getting single-cell metadata to transfer * making column for meta_cluster * cleaning console logs * working on parsing parquet to objects * meta_cell working * parsing meta_cell_attr * setting up multiple attr support for cells * getting multiple attr working for meta_clust * meta_cluster and meta_cell starting to work * working on cell_attr * format * cleaning * Update js/read_parquet/objects_from_parquet.js Co-authored-by: Copilot <[email protected]> * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update js/widget.js Co-authored-by: Copilot <[email protected]> * added example notebook * cleaning * ordered imports * Handle Leiden colors when not precomputed (#157) * fix(viz): generate leiden colors via scanpy * added color generation if not available * ruff * added fix for cell_id not being index in AnnData * ruff * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update js/viz/landscape_ist.js Co-authored-by: Copilot <[email protected]> * Update js/viz/landscape_ist.js Co-authored-by: Copilot <[email protected]> * Update js/widget.js Co-authored-by: Copilot <[email protected]> * Update js/widget.js Co-authored-by: Copilot <[email protected]> * Update js/widget.js Co-authored-by: Copilot <[email protected]> * Update js/widget.js Co-authored-by: Copilot <[email protected]> * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * added default to prevent failure with no AnnDAta --------- Co-authored-by: Copilot <[email protected]>
cornhundred
added a commit
that referenced
this pull request
Jul 17, 2025
* renaming class * clustergram registry * linting fixes * removed print statement * removed name logic * Add Parquet export support for Clustergram widget (#111) * manually bringing in parquet processing * big int * fixing bug with parquet matrix processing * fix index parsing bug * removed print and console logs * added mat as kwarg * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update js/read_parquet/network_from_parquet.js Co-authored-by: Copilot <[email protected]> * implemnting astype change --------- Co-authored-by: Copilot <[email protected]> * Update src/celldega/clust/matrix.py more efficient hash for sparse data Co-authored-by: Copilot <[email protected]> * ruff fix * docs: add parquet_data usage (#117) * Add Clustergram parquet widget tests (#116) * upadted test * fixed test lint * ruff format * format JS * Refine Landscape metadata handling * feat(viz): support AnnData in Landscape (#131) * adding print statement * getting single-cell metadata to transfer * making column for meta_cluster * cleaning console logs * working on parsing parquet to objects * meta_cell working * parsing meta_cell_attr * setting up multiple attr support for cells * getting multiple attr working for meta_clust * meta_cluster and meta_cell starting to work * working on cell_attr * format * cleaning * Update js/read_parquet/objects_from_parquet.js Co-authored-by: Copilot <[email protected]> * Update src/celldega/viz/widget.py Co-authored-by: Copilot <[email protected]> * Update js/widget.js Co-authored-by: Copilot <[email protected]> * added example notebook * cleaning * Add Parquet traitlet support for neighborhoods --------- Co-authored-by: Copilot <[email protected]>
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.
Summary
Matrix.export_viz_parquet()outputClustergramwidget acceptsparquet_dataTesting
pytest --override-ini addopts='' -k test_widget -vv(fails: ModuleNotFoundError: No module named 'numpy')https://chatgpt.com/codex/tasks/task_b_686bf34e93e4832a932c3aa7cca4b335