Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 18, 2023
1 parent 044f910 commit 66f08b5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion R/AnnData.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ AnnData <- function(
var = var,
layers = layers
)
}
}
26 changes: 13 additions & 13 deletions R/HDF5-write.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#' @param file Path to a H5AD file or an open H5AD handle
#' @param name Name of the element within the H5AD file
#' @param ... Additional arguments passed to writing functions
#'
#'
#' @noRd
#'
#' @details
Expand Down Expand Up @@ -67,7 +67,7 @@ write_h5ad_element <- function(value, file, name, ...) { # nolint
#' Write H5AD encoding
#'
#' Write H5AD encoding attributes to an element in an H5AD file
#'
#'
#' @noRd
#'
#' @param file Path to a H5AD file or an open H5AD handle
Expand Down Expand Up @@ -120,7 +120,7 @@ write_h5ad_dense_array <- function(value, file, name, version = "0.2.0") {
#' Write H5AD sparse array
#'
#' Write a sparse array to an H5AD file
#'
#'
#' @noRd
#'
#' @param value Value to write
Expand Down Expand Up @@ -191,7 +191,7 @@ write_h5ad_nullable_boolean <- function(value, file, name, version = "0.1.0") {
#' Write H5AD nullable integer
#'
#' Write a nullable integer to an H5AD file
#'
#'
#' @noRd
#'
#' @param value Value to write
Expand All @@ -215,7 +215,7 @@ write_h5ad_nullable_integer <- function(value, file, name, version = "0.1.0") {
#' Write a string array to an H5AD file
#'
#' @noRd
#'
#'
#' @param value Value to write
#' @param file Path to a H5AD file or an open H5AD handle
#' @param name Name of the element within the H5AD file
Expand All @@ -237,7 +237,7 @@ write_h5ad_string_array <- function(value, file, name, version = "0.2.0") {
#' Write a categorical to an H5AD file
#'
#' @noRd
#'
#'
#' @param value Value to write
#' @param file Path to a H5AD file or an open H5AD handle
#' @param name Name of the element within the H5AD file
Expand All @@ -256,7 +256,7 @@ write_h5ad_categorical <- function(value, file, name, version = "0.2.0") {
#' Write a string scalar to an H5AD file
#'
#' @noRd
#'
#'
#' @param value Value to write
#' @param file Path to a H5AD file or an open H5AD handle
#' @param name Name of the element within the H5AD file
Expand All @@ -280,7 +280,7 @@ write_h5ad_string_scalar <- function(value, file, name, version = "0.2.0") {
#' Write a numeric scalar to an H5AD file
#'
#' @noRd
#'
#'
#' @param value Value to write
#' @param file Path to a H5AD file or an open H5AD handle
#' @param name Name of the element within the H5AD file
Expand All @@ -298,7 +298,7 @@ write_h5ad_numeric_scalar <- function(value, file, name, version = "0.2.0") {
#' Write a mapping to an H5AD file
#'
#' @noRd
#'
#'
#' @param value Value to write
#' @param file Path to a H5AD file or an open H5AD handle
#' @param name Name of the element within the H5AD file
Expand All @@ -319,7 +319,7 @@ write_h5ad_mapping <- function(value, file, name, version = "0.1.0") {
#' Write a data frame to an H5AD file
#'
#' @noRd
#'
#'
#' @param value Value to write
#' @param file Path to a H5AD file or an open H5AD handle
#' @param name Name of the element within the H5AD file
Expand Down Expand Up @@ -379,7 +379,7 @@ write_h5ad_data_frame <- function(value, file, name, index = NULL,
#' Write an for a data frame to an H5AD file
#'
#' @noRd
#'
#'
#' @param value Value to write. Must be a vector to the same length as the data
#' frame.
#' @param file Path to a H5AD file or an open H5AD handle
Expand Down Expand Up @@ -414,7 +414,7 @@ write_h5ad_data_frame_index <- function(value, file, name, index_name) {
#' Write a new empty H5AD file
#'
#' @noRd
#'
#'
#' @param file Path to the H5AD file to write
#' @param obs_names Vector containing observation names
#' @param var_names Vector containing variable names
Expand Down Expand Up @@ -452,7 +452,7 @@ write_empty_h5ad <- function(file, obs_names, var_names, version = "0.1.0") {
#' Check that a path in HDF5 exists
#'
#' @noRd
#'
#'
#' @param file Path to a HDF5 file
#' @param target_path The path within the file to test for
#'
Expand Down

0 comments on commit 66f08b5

Please sign in to comment.