Skip to content

[doc-sync] docs(FeatureFinderMetaboIdent): document new optional Adduct column in TSV input format - #9395

Merged
timosachsenberg merged 1 commit into
developfrom
doc-sync/featurefindermetaboident-adduct-column-68e228b5d998172b
May 22, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
doc-sync/featurefindermetaboident-adduct-column-68e228b5d998172b

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

The adduct support added in #9382 introduced an optional Adduct column to the FeatureFinderMetaboIdent TSV input format, but the Doxygen tool documentation in src/topp/FeatureFinderMetaboIdent.cpp was not updated to reflect this change.

Source files that triggered this review

  • src/topp/FeatureFinderMetaboIdent.cpp — changed in Add adduct support to FeatureFinderMetaboIdent #9382 to parse an optional Adduct column
  • src/openms/include/OpenMS/FEATUREFINDER/FeatureFinderAlgorithmMetaboIdent.h — FeatureFinderMetaboIdentCompound struct extended with adduct_ field
  • src/openms/source/FEATUREFINDER/FeatureFinderAlgorithmMetaboIdent.cpp — m/z calculation updated to use AdductInfo

Documentation file updated

src/topp/FeatureFinderMetaboIdent.cpp (Doxygen @page block — the Input format section):

Change Why
Added [Adduct] to the header line template The column now exists and users need to know where it goes (after [IonMobility])
Added @p Adduct [optional] column description with notation examples ([M+H]+, [M+Na]+, [M-H]-, [2M+H]+) Users need to know the accepted format and the default fallback behaviour
Noted that Adduct supersedes the legacy SumFormula-adduct workaround The old docs instructed users to encode adducts by modifying SumFormula (e.g. Na1H-1); this is now misleading because a cleaner explicit column exists
Reworded @p SumFormula bullet to remove the now-misleading adduct-via-formula suggestion The formula-encoding trick still works but should not be the recommended approach

All other documentation (CHANGELOG, TOPP.doxygen, pyOpenMS CLAUDE.md) was verified to be already up to date with the recent code changes.

Generated by Documentation Sync Agent · ◷

…n TSV input format

The adduct support added in #9382 introduced an optional 'Adduct' column
to the TSV input file but the Doxygen tool documentation still described
the old workaround of encoding adducts via a modified SumFormula.

Update the Input format section to:
- Add [Adduct] to the header line template
- Add @p Adduct column description with supported notation examples
- Clarify that the Adduct column supersedes the SumFormula workaround
- Reword @p SumFormula to remove the now-misleading adduct-via-formula
  suggestion

Co-authored-by: Copilot <[email protected]>
@timosachsenberg
timosachsenberg marked this pull request as ready for review May 22, 2026 05:12
@timosachsenberg
timosachsenberg merged commit 0c4b730 into develop May 22, 2026
3 checks passed
@timosachsenberg
timosachsenberg deleted the doc-sync/featurefindermetaboident-adduct-column-68e228b5d998172b branch May 22, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant