Repository navigation
avoid silent skipping of ConsensusID - #501
Conversation
- for remove duplicated entries in search engine (not really needed, but in case check is missing it. - run will fail silently, could be replaced by a check added and raise an error
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
This is for #499 |
|
|
@enryH linting issues to start. ;) |
- not fixed by linter automatically? nf-core did not check. - using pre-commit
User description
add check to not fail silently on duplicated search engine entries
for safety: remove duplicated entries in search engine (not really needed, but in case check is missing it if a new workflow)
document option of 'remainder: true' in a comment
PR checklist
PR Type
Bug fix, Enhancement
Description
Added error handling for duplicated search engine entries.
Replaced
splitwithtokenizeanduniquefor better validation.Documented the use of
remainder: truein comments.Enhanced workflow logic to prevent silent failures.
Changes walkthrough 📝
dda_id.nf
Enhanced search engine validation in DDA_ID workflowsubworkflows/local/dda_id.nf
splitwithtokenizeanduniquefor search engine validation.CONSENSUSIDprocess.id.nf
Improved search engine validation in ID workflowsubworkflows/local/id.nf
splitwithtokenizeanduniquefor search engine validation.remainder: truebehavior.quantms.nf
Added error handling for duplicated search enginesworkflows/quantms.nf
search_enginesparameter usingtokenizeandunique.