Open
Conversation
mschwoer
approved these changes
Feb 13, 2026
| ion_cols: | ||
| - Peptide Key | ||
|
|
||
| fragpipe_precursor: |
Contributor
There was a problem hiding this comment.
just noting: l.1363 was "fragpipe_precursors"
| # Check if mod_seq_charge nodes exist (fragment-level data) | ||
| mod_seq_charge_nodes = anytree.search.findall(root_node, filter_=lambda node: node.type == "mod_seq_charge") | ||
| if len(mod_seq_charge_nodes) > 0: | ||
| MISSINGVAL_TEST_LEVEL = "mod_seq_charge" |
Contributor
There was a problem hiding this comment.
(nit) Comment with # Scenario 1: missing here
| MISSINGVAL_TEST_LEVEL = None | ||
|
|
||
|
|
||
| def determine_missingval_test_level(root_node): |
|
|
||
| # Set the test level if not already determined | ||
| if MISSINGVAL_TEST_LEVEL is None: | ||
| determine_missingval_test_level(root_node) |
Contributor
There was a problem hiding this comment.
could this be
MISSINGVAL_TEST_LEVEL = determine_missingval_test_level(root_node)
then you don't need to have global MISSINGVAL_TEST_LEVEL in determine_missingval_test_level
|
|
||
| if MISSINGVAL_TEST_LEVEL == "mod_seq_charge": | ||
| return anytree.search.findall(root_node, filter_=lambda node: node.type == "mod_seq_charge") | ||
| else: # "base" |
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 counting statistics module had an error on fragpipe data, because the tree format was not correctly recognized as reported here #105
Implemented a new function to determine the appropriate level for missing value statistical testing based on the tree structure, which is then used subsequently.