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
The num_mutations is intiliased and modified as below:
self.num_mutation = 0
# being modified by recursive call to `populate()`
temp: int = functools.reduce(max, self.nodes[node_id].mutation_ids, 0)
self.num_mutations = max(self.num_mutations, temp)
However, self.nodes[node_id].mutation_ids have range [0, largest_mutants_id], thus self.num_mutations <= largest_mutants_id
But in most case, we have self.num_mutations == largest_mutants_id + 1
I think (not verified) that this bug has been present since before the script was modified to accommodate the new format (flatten representation) of the mutation_info_file.
The text was updated successfully, but these errors were encountered:
JonathanFoo0523
changed the title
MutationTree.num_mutations might have return largest mutants ids insteadMutationTree.num_mutations might have been returning the largest mutant IDs
Aug 23, 2024
The
num_mutations
is intiliased and modified as below:However,
self.nodes[node_id].mutation_ids
have range[0, largest_mutants_id]
, thusself.num_mutations <= largest_mutants_id
But in most case, we have
self.num_mutations == largest_mutants_id + 1
I think (not verified) that this bug has been present since before the script was modified to accommodate the new format (flatten representation) of the
mutation_info_file
.The text was updated successfully, but these errors were encountered: