Skip to content

Commit

Permalink
Merge pull request #314 from thibautjombart/no-parallel-ftw
Browse files Browse the repository at this point in the history
Set all parallel = FALSE
  • Loading branch information
zkamvar authored Sep 26, 2021
2 parents e03d873 + a740a7e commit b8b7b3b
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
CHANGES IN ADEGENET VERSION 2.1.5

PARALLEL COMPUTATION

- parallel computation defaults to `FALSE` from now on to avoid frustrating
errors on windows machines.

CHANGES IN ADEGENET VERSION 2.1.4

DOCUMENTATION
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: adegenet
Title: Exploratory Analysis of Genetic and Genomic Data
Version: 2.1.4
Version: 2.1.5
Authors@R:
c(person(given = "Thibaut",
family = "Jombart",
Expand Down Expand Up @@ -102,7 +102,7 @@ Suggests:
poppr
Encoding: UTF-8
LazyLoad: yes
RoxygenNote: 7.1.1
RoxygenNote: 7.1.2
Collate:
'adegenet.package.R'
'datasets.R'
Expand Down
4 changes: 2 additions & 2 deletions R/import.R
Original file line number Diff line number Diff line change
Expand Up @@ -1415,7 +1415,7 @@ extract.PLINKmap <- function(file, x = NULL){
#' @export
#' @rdname read.PLINK
read.PLINK <- function(file, map.file=NULL, quiet=FALSE, chunkSize=1000,
parallel=require("parallel"), n.cores=NULL, ...){
parallel=FALSE, n.cores=NULL, ...){
## HANDLE ARGUMENTS ##
ext <- .readExt(file)
ext <- toupper(ext)
Expand Down Expand Up @@ -1529,7 +1529,7 @@ read.PLINK <- function(file, map.file=NULL, quiet=FALSE, chunkSize=1000,
## Function fasta2genlight
###########################
fasta2genlight <- function(file, quiet=FALSE, chunkSize=1000, saveNbAlleles=FALSE,
parallel=require("parallel"), n.cores=NULL, ...){
parallel=FALSE, n.cores=NULL, ...){
## HANDLE ARGUMENTS ##
ext <- .readExt(file)
ext <- toupper(ext)
Expand Down
4 changes: 2 additions & 2 deletions man/fasta2genlight.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
on parallel architectures (needs the package \code{parallel}).
}
\usage{
fasta2genlight(file, quiet=FALSE, chunkSize = 1000, saveNbAlleles=FALSE,
parallel = require("parallel"), n.cores = NULL, \dots)
fasta2genlight(file, quiet = FALSE, chunkSize = 1000, saveNbAlleles = FALSE,
parallel = FALSE, n.cores = NULL, \dots)
}
\arguments{
\item{file}{ a character string giving the path to the file to
Expand Down
2 changes: 1 addition & 1 deletion man/read.PLINK.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b8b7b3b

Please sign in to comment.