Skip to content

Commit

Permalink
Filename fix for purityA output
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomnl authored Sep 13, 2024
1 parent 20a48a1 commit 468654b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/msPurity/purityA.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ if (!is.null(opt$galaxy_names)) {
print(pa)
save(pa, file = file.path(opt$out_dir, "purityA_output.RData"))

pa@puritydf$filename <- sapply(pa@puritydf$fileid, function(x) names(pa@fileList)[as.integer(x)])
pa@puritydf$filename <- sapply(as.character(pa@puritydf$fileid), function(x) names(pa@fileList)[as.integer(x)])

print(head(pa@puritydf))
write.table(pa@puritydf, file.path(opt$out_dir, "purityA_output.tsv"), row.names = FALSE, sep = "\t")

0 comments on commit 468654b

Please sign in to comment.