Skip to content

BUG fix DeseqStats test of dds's replaced attribute#62

Merged
BorisMuzellec merged 3 commits intomainfrom
fix_cooks_fit_test
Jan 27, 2023
Merged

BUG fix DeseqStats test of dds's replaced attribute#62
BorisMuzellec merged 3 commits intomainfrom
fix_cooks_fit_test

Conversation

@BorisMuzellec
Copy link
Copy Markdown
Collaborator

At initialization, a DeseqStats object should check that that the DeseqDataSet it is built from has a replaced attribute, if it has refit_cooks=True.

Up to now, it was checking this independently of dds.refit_cooks. This small PR corrects this bug.

@BorisMuzellec BorisMuzellec requested a review from maikia January 24, 2023 16:37
Copy link
Copy Markdown
Collaborator

@maikia maikia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be feasible to add a test to it?

@BorisMuzellec
Copy link
Copy Markdown
Collaborator Author

Checking that the workflow dds.deseq2() followed with stats.summary() when refit_cooks=False runs error-free should allow to test that this does no longer happen.

@BorisMuzellec BorisMuzellec requested a review from maikia January 27, 2023 10:20
Copy link
Copy Markdown
Collaborator

@maikia maikia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @BorisMuzellec LGTM

@BorisMuzellec BorisMuzellec merged commit 7722389 into main Jan 27, 2023
@BorisMuzellec BorisMuzellec deleted the fix_cooks_fit_test branch January 27, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants