Repository navigation
Don't run a top_modules-only module a second time unfiltered - #3736
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
Contributor
Author
|
Let me know if you have any thoughts on this one. |
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.
There's a bug in
_module_list_to_search: when it adds the modules that aren't inmodule_order, it compares each module ID with thetop_modulesentries, but those entries are dicts. The check never matches, so a module configured only intop_modulesis also scheduled again with no overrides.With
module_order: [cutadapt]and one filtered Trimmomatic entry intop_modules, MultiQC runstrimmomatic_rawon the one selected log and then an unconfigured Trimmomatic run on all three logs, so the report includes the logs the filter was meant to leave out. Two filtered entries give a third run.This compares against the module IDs of the
top_modulesentries.Test:
test_top_modules_do_not_add_unfiltered_runintests/test_modules_run.pyfails on main and passes here. Full suite: 901 passed, 4 skipped;prek run --all-files,mypyandcode_checks.pypass.🤖 Generated with Claude Code
https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N