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

Error when passing cluster object into ATC() #188

Open
bk1n opened this issue Oct 26, 2023 · 0 comments
Open

Error when passing cluster object into ATC() #188

bk1n opened this issue Oct 26, 2023 · 0 comments

Comments

@bk1n
Copy link

bk1n commented Oct 26, 2023

Hi and firstly thanks for cola - it's a great package!

I just wanted to let you know of something that's not working for me. When I pass a cluster object into ATC() I get an error. run_all_consensus_partition_methods wasn't working and so I looked into the traceback and found this was the cause.

library(parallel)
ncores = detectCores()
cl = makeCluster(ncores - 4)

ATC(mat, cores = 1) #works
ATC(mat, cores = 4) #works 
ATC(mat, cores = cl) #'list' object cannot be coerced to type 'double'

I will use the cores = int functionality for now, but just wanted to let you know this wasn't working as intended (at least for me).

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

No branches or pull requests

1 participant