Conversation
Co-authored-by: Taobo Hu <hutaobo@users.noreply.github.com>
审查者指南添加 文件级变更
提示和命令与 Sourcery 交互
自定义你的体验访问你的控制面板以:
获取帮助Original review guide in EnglishReviewer's GuideAdds AGENTS.md as durable Cloud Agent guidance, documenting repository surfaces, Python and CLI workflows, Gradio operation, packaging caveats, and the HistoSeg version pin required for legacy app compatibility. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This branch has not been deployed
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
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
Sets up the Cloud Agent development environment for
spatho(Agentic Spatial Pathologist) and documents the durable, non-obvious startup context inAGENTS.md. No application code was changed.Environment setup
--break-system-packages):python3 -m pip install -e .[dev].histoseg==0.1.9.2. The latest publishedhistoseg(0.1.9.3) removed the top-levelPattern1IsolineConfigexport and renamedhistoseg.contours->histoseg.contour, which breaks the legacy Gradio appmain.py.pyproject.tomlonly requireshistoseg>=0.1.9.2, so a plain install otherwise resolves to the broken 0.1.9.3. 0.1.9.2 is compatible with both thespathotest suite and the Gradio app.The above two commands are captured in the environment update script.
Verification
python3 -m pytestpython3 -m buildspatho list-organ-packs/config-schema/init-workflow/doctorpython3 main.py(port 7860)The Gradio app was driven end-to-end in a browser: uploaded synthetic
cells.parquet+clusters.csv, built a cophenetic dendrogram (6 clusters -> 4 candidate structures), selected structures, and ran the multi-structure contour analysis (finished successfully, exported Xenium Explorer GeoJSON/CSV + contour preview).Dendrogram, candidate structures, and cophenetic heatmap
Final contour preview with finished-successfully status and run summary
spatho_gradio_end_to_end_demo.mp4
Note
python3 -m twine check dist/*currently fails on a Metadata-2.4license-expression/license-filemismatch between setuptools and twine. This is a packaging/tooling version issue (publish-only), not a repo bug, so no code was changed.To show artifacts inline, enable in settings.
Sourcery 摘要
记录开发和一致性验证 spatho 所需的 Cloud Agent 设置和运行时指南。
增强功能:
构建:
文档:
Original summary in English
Summary by Sourcery
Document the Cloud Agent setup and runtime guidance needed to develop and validate spatho consistently.
Enhancements:
Build:
Documentation: