Skip to content

Additional checks in tissue sample validation#39

Merged
aschroed merged 7 commits intomasterfrom
260331_ajs_more_tissue_sample_val
Apr 1, 2026
Merged

Additional checks in tissue sample validation#39
aschroed merged 7 commits intomasterfrom
260331_ajs_more_tissue_sample_val

Conversation

@aschroed
Copy link
Copy Markdown
Contributor

Almost every TPC submission I catch cases of mismatches between submitted_id and external_id or more often TissueSample submitted/external_id mismatches with the sample_sources tissue submitted_id on the same sheet which is not caught until actual submission.

2 new validator functions now check for this.

Unit tests included.

@dbmi-svc-checkmarx
Copy link
Copy Markdown

dbmi-svc-checkmarx commented Mar 31, 2026

Logo
Checkmarx One – Scan Summary & Details63993987-6d36-4cfb-a833-4f856f3ecc93

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to interact with Checkmarx PR Assistant.
Examples:
@Checkmarx how are you able to help me?
@Checkmarx rescan this PR

Copy link
Copy Markdown
Contributor

@sarahgonicholson sarahgonicholson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. We may want to have this check only apply to NDRI TissueSamples, just because GCCs are more variable with the pattern of their submitted_ids. That or have this check throw a warning instead of a failure

@aschroed aschroed merged commit d44f6ba into master Apr 1, 2026
6 checks passed
@aschroed aschroed deleted the 260331_ajs_more_tissue_sample_val branch April 1, 2026 20:11
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.

3 participants