Skip to content

Commit

Permalink
Update .R according to lintR failures
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Ruin committed Sep 30, 2024
1 parent bff5a94 commit d950be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/mzxmlshaper/mzXMLShaper.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ pks <- mzR::spectra(spectrum)
hdr <- mzR::header(spectrum)

if (outputfileformat == "mzml") {
writeMSData(pks, file = outputfilename, outformat = "mzml", header = hdr)
writeMSData(pks, file = outputfilename, outformat = "mzml", header = hdr)
}

if (outputfileformat == "mzXml") {
writeMSData(pks, file = outputfilename, outformat = "mzxml", header = hdr)
writeMSData(pks, file = outputfilename, outformat = "mzxml", header = hdr)
}

cat("\n--------------------------------------------------------------------",
Expand Down

0 comments on commit d950be0

Please sign in to comment.