Skip to content

Commit

Permalink
Fixes #26
Browse files Browse the repository at this point in the history
Bump version from 0.10.0 to 0.10.1
  • Loading branch information
dweemx committed Oct 2, 2020
1 parent cc2beab commit 2a9c0fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: SCopeLoomR
Type: Package
Title: Build .loom files (compatible with SCope) and extract data from .loom files.
Version: 0.10.0
Version: 0.10.1
Author: dweemx
Maintainer: dweemx <mdewaegeneer@gmail.com>
Description: R package to build generic .loom files aligning with the default naming convention of the .loom format and
Expand Down
5 changes: 4 additions & 1 deletion R/loom.R
Original file line number Diff line number Diff line change
Expand Up @@ -2566,7 +2566,7 @@ lookup_loom <- function(
#'@title open_loom
#'@description Open loom file and return a .loom file handler.
#'@param file.path The file path to the .loom file.
#'@param mode "r" for read/write (default). "r" for read-only.
#'@param mode "r" for read-only (default). "r+" for read/write
#'@return A loom file handler
#'@export
open_loom <- function(
Expand All @@ -2577,6 +2577,9 @@ open_loom <- function(
filename = file.path,
mode = mode
)
if(mode != "r" & mode != 'r+') {
stop("'r' (read) and 'r+' (read/write) modes are only allowed.")
}
if(is_loom_spec_version_3_or_greater(loom = loom)) {
warning("Loom specification version 3 or greater detected!")
} else {
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SCopeLoomR v0.10.0
# SCopeLoomR v0.10.1
An R package (compatible with SCope) to create generic .loom files and extend them with other data e.g.: SCENIC regulons, Seurat clusters and markers, ... The package can also be used to read data from .loom files.

## Requirements
Expand Down Expand Up @@ -32,6 +32,11 @@ You can find a tutorial on how to create .loom files and read data from them in

## Version History

October 02, 2020

* Version 0.10.1
* Avoid opening loom in "w" mode https://github.com/aertslab/SCopeLoomR/issues/26

September 22, 2020

* Version 0.10.0
Expand Down

0 comments on commit 2a9c0fe

Please sign in to comment.