Skip to content

Read the session's table in a multi-table checkpoint's metrics - #33

Merged
sminot merged 1 commit into
mainfrom
metrics-multi-table-checkpoint
Nov 30, 2026
Merged

sminot merged 1 commit into
mainfrom
metrics-multi-table-checkpoint

Conversation

@sminot

@sminot sminot commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

dataset_metrics.py refused any checkpoint with more than one table, so a SpatialData store imported with all of its tables failed the ANALYSE task after both checkpoints were already written:

results-12becb71c3e0.sdata.zarr.zip: expected exactly one table, found ['global-table-B01-Cellecta', 'global-table-B01-QC_Panel', 'global-table-imaging', 'global-table-metadata', 'global-table-ThreePrimeUntargeted']

With several tables it now reads the first of the viewer/ sidecar's table_keys, the table the session and the viewer open on; zarr lists them sorted by name. test_cli.py runs the script on its multi-table store checkpoint and checks it summarises cells, not a-guides.

🤖 Generated with Claude Code

dataset_metrics.py refused any checkpoint with more than one table, so a
SpatialData store imported with all of its tables failed the ANALYSE task
after the checkpoint was already saved. With several tables it now reads the
first of the viewer sidecar's table_keys, the table the session opened on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cirro-wiz-connector

Copy link
Copy Markdown

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings 1 Medium
Software Management Finding Software Management Findings -
Total 1 Medium

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio.

@sminot
sminot marked this pull request as ready for review November 30, 2026 21:17
@sminot
sminot merged commit 0ec8b1f into main Nov 30, 2026
11 checks passed
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