Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed set_fdr for tascCODA models #411

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Fixed set_fdr for tascCODA models #411

merged 3 commits into from
Oct 24, 2023

Conversation

Lilly-May
Copy link
Collaborator

PR Checklist

Description of changes

Fix of the set_fdr method for tree_agg models (tascCODA models). Since the summary_prepare method returns three values for tree_agg models but the previous code in set_fdr accepted only two (which is correct in the case of a classical model), an error was thrown. This bug is easily fixed by differentiating between the two models and then either expect the summary_prepare method to return two or three values.

@github-actions github-actions bot added bug Something isn't working chore labels Oct 24, 2023
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #411 (1341604) into main (6f4764d) will not change coverage.
The diff coverage is 0.00%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #411   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         40      40           
  Lines       4882    4887    +5     
=====================================
- Misses      4882    4887    +5     
Files Coverage Δ
pertpy/tools/_coda/_tasccoda.py 0.00% <ø> (ø)
pertpy/tools/_coda/_base_coda.py 0.00% <0.00%> (ø)

@Zethson Zethson merged commit d3c0db3 into main Oct 24, 2023
@Lilly-May Lilly-May deleted the fix/sccoda_set_fdr branch October 25, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants