Skip to content

GitHub Issue 827: Cannot aliquot samples using lineage search naming pattern#7399

Merged
XingY merged 4 commits intodevelopfrom
fb_aliquotComma
Feb 13, 2026
Merged

GitHub Issue 827: Cannot aliquot samples using lineage search naming pattern#7399
XingY merged 4 commits intodevelopfrom
fb_aliquotComma

Conversation

@XingY
Copy link
Contributor

@XingY XingY commented Feb 8, 2026

Rationale

Aliquot parent can be used to lookup ancestors with lineage search syntax (~DataInputs/~MaterialInputs). If a aliquot parent name is with,comma, it would come in as "with,comma", but then processed to with,comma so the correct value is used to generate name that references the aliquot parent (Issue 45563). Because the quotes are already stripped, aliquotParent value should not go through ExperimentService.getParentValues again, which assumes TSV encoded string. This PR short circuit aliquot parent processing in parentNames util.

Related Pull Requests

Changes

XingY added 3 commits February 8, 2026 12:29
…mma in the name AND the aliquot naming pattern references ancestor lineage
@XingY XingY requested a review from labkey-susanh February 13, 2026 19:16
if (StringUtils.isEmpty((valueStr).trim()))
return Stream.empty();

// GitHub Issue 827: Cannot aliquot samples where parent sample has a comma in the name AND the aliquot naming pattern references ancestor lineage
Copy link
Contributor

Choose a reason for hiding this comment

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

Good to have the GitHub Issue reference here, but I think it would be better to explain in the text why there is special handling for ALIQUOTED_FROM here (you can get it from the PR rationale, but it takes an extra hop).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good reminder. I'll add the explanation in my other branch.

@XingY XingY merged commit 74eff60 into develop Feb 13, 2026
13 checks passed
@XingY XingY deleted the fb_aliquotComma branch February 13, 2026 21:37
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.

2 participants