Skip to content

Conversation

@cornhundred
Copy link
Collaborator

Summary

  • test Matrix.export_viz_parquet() output
  • ensure Clustergram widget accepts parquet_data

Testing

  • pytest --override-ini addopts='' -k test_widget -vv (fails: ModuleNotFoundError: No module named 'numpy')

https://chatgpt.com/codex/tasks/task_b_686bf34e93e4832a932c3aa7cca4b335

@cornhundred cornhundred merged commit dc1435d into DEGA-294-rename-Matrix-Clustergram Jul 7, 2025
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 cornhundred deleted the codex/create-unit-tests-for-matrix.export_viz_parquet branch July 15, 2025 19:31
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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants