Skip to content

refactor: feat_vs_anno_server to use run_from_json pattern#75

Open
fangliu117 wants to merge 5 commits intoFNLCR-DMAP:devfrom
fangliu117:fang/refactor-feat-vs-anno
Open

refactor: feat_vs_anno_server to use run_from_json pattern#75
fangliu117 wants to merge 5 commits intoFNLCR-DMAP:devfrom
fangliu117:fang/refactor-feat-vs-anno

Conversation

@fangliu117
Copy link
Copy Markdown

  • Delegate heatmap rendering to hierarchical_heatmap_template's run_from_json via memory registry, matching nearest_neighbor_server and ripleyL_server architecture.
  • Update spac pin to SCSAWorkflow commit 598517d which fixes the template to return (clustergrid, df) when save_results_flag=False.
  • Preserves all existing UI features: colormap, dendrogram toggles, axis rotation, label abbreviation, min/max range updates.

Depends on: SCSAWorkflow PR #425

- Delegate heatmap rendering to hierarchical_heatmap_template's
  run_from_json via memory registry, matching nearest_neighbor_server
  and ripleyL_server architecture.
- Update spac pin to SCSAWorkflow commit 598517d which fixes the
  template to return (clustergrid, df) when save_results_flag=False.
- Preserves all existing UI features: colormap, dendrogram toggles,
  axis rotation, label abbreviation, min/max range updates.

Depends on: SCSAWorkflow PR #425
Add Feature(s),Z Score, Standard Scale, Swap Axes, Figure Title/Width/Height/DPI,
Font Size, and Matrix Plot Ratio as configurable inputs instead of
hardcoded values. Organized under collapsible Figure Configuration section.
- Refactored feat_vs_anno_server.py to use hierarchical_heatmap_template
- Default colormap changed to seismic with dendrograms enabled
- Fix ripleyL_server import: visualize_ripley_template -> visualize_ripley_l_template
- Update spac pin to SCSAWorkflow commit 4bd1aaf (v0.9.3)
- Expose all template parameters in Feat. Vs Anno. UI
Pre-existing bug on dev: NN and Ripley L templates use 'save_to_disk',
not 'save_results'. Mismatch caused TypeError silently caught by
except block, producing blank plots.
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