Conversation
Add parse_gwb() with branch, substituent, reducing-end, and uncertain-antenna support. Integrate automatic format detection and add corpus-derived regression coverage and documentation.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e8b828ed3b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Preserve the GWB ring marker and reject explicit open-chain residues unless they are representable as a reduced redEnd root. Add regressions for free-end and linked open-chain inputs.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a23a411ade
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Up to standards ✅🟢 Issues
|
Emit explicit candidate parents whenever occupied acceptor positions remove nodes from a GlycoWorkbench uncertain-antenna domain. Cover lone floating monosaccharide and substituent cases.
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2f5f9fcb0a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| feasible <- purrr::map_lgl(main_nodes, function(main_node) { | ||
| occupied <- gwb_node_occupied_positions(main_node) | ||
| any(!positions %in% occupied) | ||
| }) |
There was a problem hiding this comment.
Remove occupied alternatives from floating linkages
When a GWB uncertain antenna has alternative positions, retaining a parent because any position is free leaves the occupied alternatives in the serialized linkage. For example, freeEnd--1b1D-Glc,p--3Ac}--3/6S$... has only one candidate parent whose position 3 is occupied, but this code keeps it and emits {3/6S}, so the parsed domain incorrectly still permits sulfate at position 3. Compute the feasible positions per retained parent and narrow the linkage when the resulting sets agree; reject parent-position combinations that cannot be represented without introducing impossible alternatives.
Useful? React with 👍 / 👎.
Summary
parse_gwb()support for GWB/GWS sequences, including branches, substituents, furanose and configured residues, reducing-end alditols, legacy ulosonic markers, and uncertain antennae.freeEndandredEndinputs throughauto_parse()and update package documentation, pkgdown, and NEWS.Verification
Rscript -e 'devtools::test()'— 1,655 tests passed.Rscript -e 'pkgdown::check_pkgdown()'— no problems.Rscript -e 'devtools::check(error_on = "warning", args = c("--no-manual"))'— 0 errors, 0 warnings, one environment-only clock NOTE.