Skip to content

Commit

Permalink
fix: drop additional empty line in MassBank export (issue #49)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Oct 31, 2023
1 parent 7cabbe1 commit 21cf023
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-bioc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
fail-fast: false
matrix:
config:
- { os: ubuntu-latest, r: 'devel', bioc: '3.17', cont: "bioconductor/bioconductor_docker:devel", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: 'devel', bioc: '3.17'}
- { os: windows-latest, r: 'devel', bioc: '3.17'}
- { os: ubuntu-latest, r: '4.3', bioc: '3.18', cont: "bioconductor/bioconductor_docker:RELEASE_3_18", rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" }
- { os: macOS-latest, r: '4.3', bioc: '3.18'}
- { os: windows-latest, r: '4.3', bioc: '3.18'}
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: MsBackendMassbank
Title: Mass Spectrometry Data Backend for MassBank record Files
Version: 1.10.0
Version: 1.10.1
Authors@R:
c(person(given = "RforMassSpectrometry Package Maintainer",
email = "[email protected]",
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# MsBackendMassbank 1.10

## Changes in 1.10.1

- Drop additional new line in MassBank report exports ([issue
#49](https://github.com/rformassspectrometry/MsBackendMassbank/issues/49)).

# MsBackendMassbank 1.7

## Changes in 1.7.4
Expand Down
2 changes: 1 addition & 1 deletion R/functions-massbank.R
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ metaDataBlocks <- function() {
as.integer(peaksData(x[i])[[1]][,2] /
max(peaksData(x[i])[[1]][,2]) * 999),
collapse = "\n"))
.cat("\n//\n\n")
.cat("\n//\n")
}
}

Expand Down

0 comments on commit 21cf023

Please sign in to comment.