-
Notifications
You must be signed in to change notification settings - Fork 9
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
checkCountDepth: mcapply not supported on windows #2
Comments
The same issue obviously appears if calling the normalization procedure with
The traceback shows:
This time, the issue is not fixed by setting NCores = 1, because the call to checkCountDepth seems not to pass on the NCores argument from the parent function (SCnorm) properly. Best, |
Fix mclapply error on windows #2
Thanks for testing this on Windows and your pull request! |
Hi Rhonda, Still seems to be an issue running SCnorm on windows, Error in mclapply(X = 1:length(Genes), FUN = quickreg, InputData = list(LogData, : Looks like the GetK function doesn't handle the core number correctly. best Marinus |
Hi Marinus,
I apologize for that. I have just added a line of code to correct this, it
will set the number of cores to 1.
Thanks,
Rhonda
…On Mon, Apr 24, 2017 at 1:44 PM, MarinusVL ***@***.***> wrote:
Hi Rhonda,
Still seems to be an issue running SCnorm on windows,
Error in mclapply(X = 1:length(Genes), FUN = quickreg, InputData =
list(LogData, :
'mc.cores' > 1 is not supported on Windows
Looks like the GetK function doesn't handle the core number correctly.
best Marinus
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGTh7Kaob5Nnlf-axdjaElBehmwlBAKQks5rzO13gaJpZM4K-ueS>
.
--
Rhonda Bacher
Graduate Student
Department of Statistics
Biotechnology Center (2130)
425 Henry Mall
University of Wisconsin-Madison
Email: rbacher@wisc.edu
Website: https://rhondabacher.github.io
|
Thanks, that was quick, Marinus
2017-04-24 12:02 GMT-07:00 Rhonda Bacher <notifications@github.com>:
… Hi Marinus,
I apologize for that. I have just added a line of code to correct this, it
will set the number of cores to 1.
Thanks,
Rhonda
On Mon, Apr 24, 2017 at 1:44 PM, MarinusVL ***@***.***>
wrote:
> Hi Rhonda,
>
> Still seems to be an issue running SCnorm on windows,
>
> Error in mclapply(X = 1:length(Genes), FUN = quickreg, InputData =
> list(LogData, :
> 'mc.cores' > 1 is not supported on Windows
>
> Looks like the GetK function doesn't handle the core number correctly.
>
> best Marinus
>
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly, view it on GitHub
> <#2 (comment)
>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AGTh7Kaob5Nnlf-
axdjaElBehmwlBAKQks5rzO13gaJpZM4K-ueS>
> .
>
--
Rhonda Bacher
Graduate Student
Department of Statistics
Biotechnology Center (2130)
425 Henry Mall
University of Wisconsin-Madison
Email: ***@***.***
Website: https://rhondabacher.github.io
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYVx4lIFMiaexRNGg6IesDmKkNqomhp8ks5rzPHDgaJpZM4K-ueS>
.
|
Dear Rhonda,
when running your code on windows, the checkCountDepth function gives an error if not explicitly run with NCores = 1.
This has been described before (see thibautjombart/adegenet#109) and the proposed solution is introducing a platform dependency before using mclapply:
For fixing the error above, the code snippet has to introduced in GetSlopes.R, line 24.
Best,
Jens
The text was updated successfully, but these errors were encountered: