Skip to content

Error on invalid sample names and duplicate IDs - #45

Merged
rasmushenningsson merged 4 commits into
mainfrom
load-counts-checks
Nov 2, 2026
Merged

rasmushenningsson merged 4 commits into
mainfrom
load-counts-checks

Conversation

@rasmushenningsson

Copy link
Copy Markdown
Collaborator
  • load_counts errors if the numbers of sample names and files differ. One name was silently used for all files.
  • Jobs returning a DataMatrix error on duplicate var or obs IDs, instead of warning. The DataMatrix constructor still warns by default.
  • combine_var reports duplicate variable IDs with a count and examples, and points to prefilter. The job combining the var tables is recomputed once.

🤖 Generated with Claude Code

rasmushenningsson and others added 4 commits November 2, 2026 12:54
A single sample name was silently used for all files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8DWQuBNx9iNYAHqwehEww
They only gave a warning. The DataMatrix constructor still warns by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8DWQuBNx9iNYAHqwehEww
Downstream operations expect unique var IDs. Feature types with colliding
IDs (e.g. RNA and ADT with gene symbols as IDs) only gave a warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8DWQuBNx9iNYAHqwehEww
Report the number of duplicates, with examples, and point to `prefilter`.
Bumps the version of the job combining the var tables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8DWQuBNx9iNYAHqwehEww
@rasmushenningsson
rasmushenningsson merged commit 5abbd81 into main Nov 2, 2026
4 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