Skip to content

[doc-sync] docs: sync documentation with recent code changes (2026-05-11) - #9283

Merged
timosachsenberg merged 1 commit into
developfrom
doc-sync/2026-05-11-eca3ce66a5adc451
May 11, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
doc-sync/2026-05-11-eca3ce66a5adc451

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Summary

Two documentation gaps identified after reviewing source file changes from the last 7 days.


Source files that triggered this review

File Commit Change
src/openms/include/OpenMS/ANALYSIS/OPENSWATH/ChromatogramExtractor.h b1e00d6 Removed TargetedExperiment overload of prepare_coordinates; unified to single LightTargetedExperiment overload
doc/doxygen/install/common-cmake-parameters.doxygen edd0cde Added WITH_OPENTIMS / ENABLE_OPENTIMS_TESTS CMake options

Documentation files updated

1. src/openms/include/OpenMS/ANALYSIS/OPENSWATH/ChromatogramExtractor.h

Problem: The class-level Doxygen comment described "two main interfaces", the first being a "Legacy interface: Takes a TargetedExperiment object". The prepare_coordinates(TargetedExperiment…) overload that backed this description was removed in the refactor (b1e00d6), leaving the description factually wrong — no such public interface exists anymore.

Fix: Replaced the two-interface description with a concise, accurate description of the unified API: callers use ExtractionCoordinates + prepare_coordinates(LightTargetedExperiment…), and those holding a TargetedExperiment should convert via OpenSwathDataAccessHelper::convertTargetedExp() first.

2. AGENTS.md

Problem: AGENTS.md lists optional CMake dependencies (WITH_HDF5, WITH_WNETALIGN) but was missing WITH_OPENTIMS / ENABLE_OPENTIMS_TESTS, which were documented in doc/doxygen/install/common-cmake-parameters.doxygen by commit edd0cde without a corresponding update to AGENTS.md.

Fix: Added WITH_OPENTIMS and ENABLE_OPENTIMS_TESTS to the optional dependency line in AGENTS.md, consistent with what the cmake parameters reference already documents.


Changes NOT made

  • No changes to CLAUDE.md or src/pyOpenMS/CLAUDE.md — the FAIMSHelper binding (b4042bc) follows the existing bind_misc.cpp routing table already in the pyOpenMS CLAUDE.md; no new guidance is needed.
  • No changes to doc/doxygen/public/ — the TOPP tool docs, TargetedQuantitation, and developer tutorial do not reference the removed prepare_coordinates(TargetedExperiment…) overload.
  • The CHANGELOG, common-cmake-parameters.doxygen, and installation-on-macos.md were already updated by their respective recent commits.

Generated by Documentation Sync Agent · ◷

- ChromatogramExtractor.h: remove outdated 'two main interfaces' description
  that still referenced the TargetedExperiment overload of prepare_coordinates,
  which was removed in the refactor commit (b1e00d6). The unified API now
  uses only LightTargetedExperiment; callers with a TargetedExperiment should
  use OpenSwathDataAccessHelper::convertTargetedExp() first.

- AGENTS.md: add WITH_OPENTIMS / ENABLE_OPENTIMS_TESTS optional dependency
  to match the entry added to doc/doxygen/install/common-cmake-parameters.doxygen
  in commit edd0cde. WITH_HDF5 and WITH_WNETALIGN are already listed;
  WITH_OPENTIMS was the only optional CMake option missing from this list.

Co-authored-by: Copilot <[email protected]>
@timosachsenberg
timosachsenberg marked this pull request as ready for review May 11, 2026 06:17
@timosachsenberg
timosachsenberg merged commit b0fbfd0 into develop May 11, 2026
3 checks passed
@timosachsenberg
timosachsenberg deleted the doc-sync/2026-05-11-eca3ce66a5adc451 branch May 11, 2026 06:17
timosachsenberg pushed a commit that referenced this pull request May 25, 2026
…try (#9403)

- Correct WITH_OPENTIMS default from 'off' to 'on' — CMakeLists.txt
  has always set this option to ON since the opentims integration was
  merged (commit 41ce6cf); the docs added in #9283 mistakenly wrote
  'default off'.

- Add WITH_THERMO_RAW / ENABLE_THERMO_RAW_TESTS to the Optional
  dependencies paragraph, mirroring the entry already present in
  doc/doxygen/install/common-cmake-parameters.doxygen.  The feature was
  introduced in #9389 and defaults ON on all supported platforms (Linux
  aarch64 is the only exception).

Co-authored-by: GitHub Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
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