Skip to content

Commit

Permalink
internal bugfix for "length > 1 in coercion to logical"
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixErnst committed Jul 27, 2021
1 parent 7036ba9 commit 9018aee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: RNAmodR
Type: Package
Title: Detection of post-transcriptional modifications in high throughput sequencing data
Version: 1.7.0
Date: 2021-04-23
Version: 1.7.1
Date: 2021-07-27
Authors@R: c(person("Felix G.M.",
"Ernst",
email = "felix.gm.ernst@outlook.com",
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ Changes in version 1.5.3 (2021-01-12)

Changes in version 1.5.4 (2021-01-23)
+ add plot type "points" to plotCompare functions

Changes in version 1.7.1 (2021-07-27)
+ internal bugfix
2 changes: 1 addition & 1 deletion R/Modifier-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ setClass("Modifier",
"required", call. = FALSE)
}
elementTypes <- elementTypes[match(elementTypes,dataType(x))]
if(is.na(elementTypes) || any(elementTypes != dataType(x))){
if(any(is.na(elementTypes)) || any(elementTypes != dataType(x))){
stop("Type of SequenceData elements does not match the requirements of ",
class(x),". '",paste(dataType(x), collapse = "','"),"' are ",
"required", call. = FALSE)
Expand Down

0 comments on commit 9018aee

Please sign in to comment.