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

Easier access to n_cpus argument in DeseqDataSet #214

Closed
BorisMuzellec opened this issue Nov 28, 2023 · 0 comments · Fixed by #226
Closed

Easier access to n_cpus argument in DeseqDataSet #214

BorisMuzellec opened this issue Nov 28, 2023 · 0 comments · Fixed by #226

Comments

@BorisMuzellec
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

Following the refactoring recently introduced in #191, it is no longer possible to set the number of cpus used by DeseqDataSet when running the DefaultInference backend as DeseqDataSet keyword argument.

Currently, to set e.g. n_cpus=4 we must write something like

dds = DeseqDataSet(
           counts=counts,
           metadata=metadata,
           ...,
           inference=DefaultInference(n_cpus=4)
           )

Describe the solution you'd like

Adding n_cpus as an optional keyword argument in DeseqDataSet again, and potentially raise a warning if the inference method that is chosen cannot take n_cpus as an argument.

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 a pull request may close this issue.

1 participant