You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[fix] write out same set of meta values in MSGF - #7713
/reformat (experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.
setting the label "NoJenkins" will skip tests for this PR on jenkins (saves resources e.g., on edits that do not affect tests)
commenting with rebuild jenkins will retrigger Jenkins-based CI builds
⚠️ Note: Once you opened a PR try to minimize the number of pushes to it as every push will trigger CI (automated builds and test) and is rather heavy on our infrastructure (e.g., if several pushes per day are performed).
PR Type
Bug fix, Tests
Description
Added dummy meta values for missing entries in PeptideHit to ensure all necessary meta values are present.
Improved error handling by adding warnings for missing or NaN values in PercolatorFeatureSetHelper.cpp.
Updated file paths for database and spectra inputs in multiple test output files to reflect new directory structure.
Added new meta values for PeptideHit entries in test output files to align with changes in the main code.
Here are some key observations to aid the review process:
⏱️ Estimated effort to review: 3 🔵🔵🔵⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Hardcoded Values The PR introduces hardcoded dummy values for missing meta values in MS-GF+ PSMs. This approach might not be suitable for all use cases and could lead to misleading analysis results.
Logging Level The use of a warning log level for every missing meta value might be excessive, especially if this is a common scenario. Consider adjusting the log level or implementing a more nuanced logging strategy.
✅ Ensure numeric meta values are set using numeric types instead of stringsSuggestion Impact:The commit replaced string literals for numeric meta values with actual numeric types, as suggested, to ensure type consistency.
Replace string literals for numeric meta values with actual numeric types to ensure type consistency and avoid potential type conversion issues later in the code.
Why: Using numeric types directly instead of string representations for setting meta values avoids unnecessary type conversions and potential errors. This change enhances data integrity and performance.
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
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.
User description
Description
MSGF doesn't write out all meta values. Add dummy entries if they are missing.
Checklist
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
Advanced commands (admins / reviewer only)
Click to expand
/reformat(experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.rebuild jenkinswill retrigger Jenkins-based CI buildsPR Type
Bug fix, Tests
Description
PeptideHitto ensure all necessary meta values are present.PercolatorFeatureSetHelper.cpp.PeptideHitentries in test output files to align with changes in the main code.Changes walkthrough 📝
PercolatorFeatureSetHelper.cpp
Add dummy meta values and improve error handlingsrc/openms/source/ANALYSIS/ID/PercolatorFeatureSetHelper.cpp
PeptideHit.NumMatchedMainIonsand related metavalues.
PSMFeatureExtractor_1_out.idXML
Update file paths and add meta values in test outputsrc/tests/topp/PSMFeatureExtractor_1_out.idXML
PeptideHitentries.PSMFeatureExtractor_2_out.mzid
Update metadata and paths in mzIdentML test outputsrc/tests/topp/PSMFeatureExtractor_2_out.mzid
PeptideHitentries.PSMFeatureExtractor_3_out.idXML
Update file paths and add meta values in test outputsrc/tests/topp/PSMFeatureExtractor_3_out.idXML
PeptideHitentries.MSGFPlusAdapter_1_out.idXML
Update file paths and add meta values in test outputsrc/tests/topp/THIRDPARTY/MSGFPlusAdapter_1_out.idXML
PeptideHitentries.