Skip to content

Commit 7782e46

Browse files
committed
renamed macOS binaries
1 parent 68d369e commit 7782e46

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Version: 1.0
44
Authors@R:
55
c(person("Connor", "Chato", email = "[email protected]",
66
role = c("aut", "cre")),
7-
person("Art", "Poon", role="ths"))
7+
person("Art", "Poon", role=c("aut", "ths")))
88
Description: clustuneR builds clusters from inputted sequence alignments and/or
99
phylogenetic trees, allowing users to choose between multiple cluster-building
1010
algorithms implememented in the package and tune clustering parameters to produce

R/tree-setup.R

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,17 +415,19 @@ taxit.create <- function(t, seqs.full, stats.json, locus = "LOCUS") {
415415
#' @param refpkg: A reference package to use as input for pplacer
416416
#' @return A set of trees, each containing 1 new sequence as a placement
417417
run.pplacer_guppy <- function(refpkg, quiet=FALSE) {
418+
platform <- as.character(Sys.info()["sysname"])
418419
if (!quiet) {
419420
cat("Running pplacer...\n")
420421
}
421-
pplacer <- system.file("pplacer", package="clustuneR")
422+
pplacer <- system.file(paste("pplacer", platform, sep='.'),
423+
package="clustuneR")
422424
if (pplacer == "") {
423425
# in case user has not installed package, but running from pkg directory
424-
pplacer <- "inst/pplacer"
426+
pplacer <- paste("inst/pplacer", platform, sep='.')
425427
}
426-
guppy <- system.file("guppy", package="clustuneR")
428+
guppy <- system.file(paste("guppy", platform, sep='.'), package="clustuneR")
427429
if (guppy == "") {
428-
guppy <- "inst/guppy"
430+
guppy <- paste("inst/guppy", platform, sep='.')
429431
}
430432

431433
# Run pplacer to obtain placements
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)