Skip to content

RunHarmony() Error on macOS: “Invalid number of ncores provided: 0. Maximum available cores: NA” #274

@Krystalkeke

Description

@Krystalkeke

System Information

  • OS: macOS (please specify your version, e.g., macOS 14.5 Sonoma)
  • R version: 4.3.3 Patched (2024-04-09 r86847)
  • Harmony version: 1.2.4
  • Seurat version: 5.1.0

Reproducible Code

# Attempt to run Harmony on a Seurat object
sub <- sub %>% 
  RunHarmony(group.by.vars = "sample", plot_convergence = TRUE, ncores = 1)

Observed Error
Warning: HarmonyMatrix is deprecated and will be removed in the future from the API
Error in value[3L] : Invalid number of ncores provided: 0.
Maximum available cores: NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions