Repository navigation
Fix wrap-doc formatting in pyOpenMS pxd files for autowrap parser - #8669
Merged
timosachsenberg merged 2 commits intoJan 15, 2026
Merged
timosachsenberg merged 2 commits into
timosachsenberg merged 2 commits into
Conversation
2 tasks
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
- Replace bare "#" with "# " in FeatureXMLFile.pxd wrap-doc - Replace bare "#" with "# " in IdXMLFile.pxd wrap-doc - Replace bare "#" with "# " in ModificationsDB.pxd wrap-doc - Fix indentation in MzMLFile.pxd storeBuffer/loadBuffer wrap-docs (16→12 spaces) Co-authored-by: timosachsenberg <[email protected]>
Copilot
AI
changed the title
[WIP] Add wrap-doc documentation to pyOpenMS pxd files
Fix wrap-doc formatting in pyOpenMS pxd files for autowrap parser
Jan 15, 2026
timosachsenberg
approved these changes
Jan 15, 2026
timosachsenberg
marked this pull request as ready for review
January 15, 2026 21:08
timosachsenberg
added a commit
that referenced
this pull request
Jan 16, 2026
* Add wrap-doc documentation to pyOpenMS pxd files Add comprehensive documentation to 34 pxd files including: - Core data structures (MSSpectrum, MSExperiment, MSChromatogram) - Feature classes (Feature, FeatureMap, ConsensusFeature, ConsensusMap) - Basic types (Peak1D, DataArrays, Param) - File I/O (MzMLFile, IdXMLFile, FeatureXMLFile, FASTAFile, etc.) - Quantitation methods (TMT, iTRAQ, AbsoluteQuantitation) - Database interfaces (ResidueDB, ModificationsDB, ProteaseDB, etc.) Changes include: - Class-level wrap-doc with usage examples - Method-level wrap-doc for constructors, getters, setters - Standardized boolean documentation to Python conventions (True/False) - Fixed typo "sorte" -> "sorted" in MSSpectrum.pxd - Removed trailing whitespace Co-Authored-By: Claude Opus 4.5 <[email protected]> * Fix wrap-doc formatting in pyOpenMS pxd files for autowrap parser (#8669) * Initial plan * Fix wrap-doc formatting in pyOpenMS pxd files - Replace bare "#" with "# " in FeatureXMLFile.pxd wrap-doc - Replace bare "#" with "# " in IdXMLFile.pxd wrap-doc - Replace bare "#" with "# " in ModificationsDB.pxd wrap-doc - Fix indentation in MzMLFile.pxd storeBuffer/loadBuffer wrap-docs (16→12 spaces) Co-authored-by: timosachsenberg <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: timosachsenberg <[email protected]> * Fix wrap-doc blank lines and loadBuffer param name - Change bare # to # (hash + 2 spaces) for blank lines in wrap-doc blocks across 13 pxd files (146 occurrences). The autowrap parser requires continuation lines to start with "# " or it stops parsing early. - Fix param name mismatch in MzMLFile.pxd loadBuffer(): change :param buffer: to :param input: to match the function signature. Co-Authored-By: Claude Opus 4.5 <[email protected]> --------- Co-authored-by: timosachsenberg <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]> Co-authored-by: Copilot <[email protected]> Co-authored-by: timosachsenberg <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The autowrap parser requires strict formatting for wrap-doc comments: blank continuation lines must use
#(hash + two spaces), not bare#. Additionally, multi-line wrap-doc blocks must align with method body indentation.Changes
#with#on blank continuation lines in class-level wrap-doc blockssearchModificationsmethod wrap-docstoreBufferandloadBufferfrom 16 to 12 spaces to match method body alignmentExample
Before (parser error):
After (correct):
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.