Skip to content

Commit

Permalink
[MISC] Deprecate seqan3::gap_score, seqan3::gap_open_score and seqan3…
Browse files Browse the repository at this point in the history
…::gap_scheme.
  • Loading branch information
wvdtoorn committed Sep 8, 2020
1 parent 4832b78 commit 378bbed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 138 deletions.
8 changes: 4 additions & 4 deletions include/seqan3/alignment/scoring/gap_scheme.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace seqan3
* \see seqan3::gap_scheme
*/
template <arithmetic score_type>
struct gap_score : detail::strong_type<score_type, gap_score<score_type>, detail::strong_type_skill::convert>
struct SEQAN3_DEPRECATED_310 gap_score : detail::strong_type<score_type, gap_score<score_type>, detail::strong_type_skill::convert>
{
using detail::strong_type<score_type, gap_score<score_type>, detail::strong_type_skill::convert>::strong_type;
};
Expand All @@ -59,7 +59,7 @@ gap_score(score_type) -> gap_score<score_type>;
* \see seqan3::gap_scheme
*/
template <arithmetic score_type>
struct gap_open_score : detail::strong_type<score_type, gap_open_score<score_type>, detail::strong_type_skill::convert>
struct SEQAN3_DEPRECATED_310 gap_open_score : detail::strong_type<score_type, gap_open_score<score_type>, detail::strong_type_skill::convert>
{
using detail::strong_type<score_type, gap_open_score<score_type>, detail::strong_type_skill::convert>::strong_type;
};
Expand All @@ -84,7 +84,7 @@ gap_open_score(score_type) -> gap_open_score<score_type>;
* \ingroup scoring
*/
template <arithmetic score_t = int8_t>
class gap_scheme
class SEQAN3_DEPRECATED_310 gap_scheme
{
public:

Expand Down Expand Up @@ -131,7 +131,7 @@ class gap_scheme
* \tparam score_arg_t The underlying type of the arguments.
* \param[in] g The cost of each gap character (of type seqan3::gap_score).
* \param[in] go The additional cost per sequence of gaps (of type seqan3::gap_open_score).
* \throws std::invalid_argument Thrown if you pass a value that is to large/low to be represented by `score_t`.
* \throws std::invalid_argument Thrown if you pass a value that is too large/low to be represented by `score_t`.
*
* \details
*
Expand Down
1 change: 0 additions & 1 deletion test/unit/alignment/scoring/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
seqan3_test(gap_scheme_test.cpp)
seqan3_test(scoring_scheme_test.cpp)
seqan3_test(simd_match_mismatch_scoring_scheme_test.cpp)
seqan3_test(simd_matrix_scoring_scheme_test.cpp)
133 changes: 0 additions & 133 deletions test/unit/alignment/scoring/gap_scheme_test.cpp

This file was deleted.

0 comments on commit 378bbed

Please sign in to comment.