Skip to content

Commit

Permalink
Merge branch 'improve_assign_peptide_type_243' of https://github.com/…
Browse files Browse the repository at this point in the history
…jpquast/protti into improve_assign_peptide_type_243
  • Loading branch information
elena-krismer committed Aug 27, 2024
2 parents 8dbadb6 + 2705ea5 commit 0b99ff9
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/testthat/test-auxiliary_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ if (Sys.getenv("TEST_PROTTI") == "true") {
protein_sequence = protein_sequence,
peptide_sequence = peptide
) %>%
assign_peptide_type(aa_before = aa_before,
last_aa = last_aa,
aa_after = aa_after,
protein_id = protein_id))
assign_peptide_type(
aa_before = aa_before,
last_aa = last_aa,
aa_after = aa_after,
protein_id = protein_id
))
})
expect_is(assigned_types, "data.frame")
expect_equal(nrow(assigned_types), 3)
Expand All @@ -50,7 +52,7 @@ if (Sys.getenv("TEST_PROTTI") == "true") {
last_aa = last_aa,
aa_after = aa_after,
protein_id = protein_id
)
)

test_that("find_peptide and assign_peptide_type work", {
expect_is(assigned_types, "data.frame")
Expand Down

0 comments on commit 0b99ff9

Please sign in to comment.