Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cigar operation #2388

Merged
merged 2 commits into from
Mar 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,13 @@ If possible, provide tooling that performs the changes, e.g. a shell-script.

#### Alphabet

* Removed seqan3::char_is_valid_for requirement from seqan3::writable_alphabet and seqan3::writable_constexpr_alphabet
* Removed seqan3::char_is_valid_for requirement from seqan3::writable_alphabet and
MitraDarja marked this conversation as resolved.
Show resolved Hide resolved
seqan3::detail::writable_constexpr_alphabet
([\#2337](https://github.com/seqan/seqan3/pull/2337)).
* Removed seqan3::cigar_op, please use seqan3::cigar::operation instead
([\#2388](https://github.com/seqan/seqan3/pull/2388)).
* The literal 'M'_cigar_op was renamed to 'M'_cigar_operation
([\#2388](https://github.com/seqan/seqan3/pull/2388)).

#### Argument Parser

Expand Down
6 changes: 6 additions & 0 deletions include/seqan3/alphabet/cigar/cigar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,12 @@ inline cigar::operation operator""_cigar_operation(char const c) noexcept
{
return cigar::operation{}.assign_char(c);
}

//!\deprecated Please use seqan3::""_cigar_operation instead.
SEQAN3_DEPRECATED_310 inline cigar::operation operator""_cigar_op(char const c) noexcept
{
return cigar::operation{}.assign_char(c);
}
//!\}

} // namespace seqan3
26 changes: 26 additions & 0 deletions include/seqan3/alphabet/cigar/cigar_op.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
// shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
// -----------------------------------------------------------------------------------------------------

/*!\file
* \brief [DEPRECATED] Introduces the seqan3::cigar_op alphabet.
* \author Joshua Kim <joshua.kim AT fu-berlin.de>
* \deprecated This header will be removed in 3.1.0; Please \#include <seqan3/alphabet/cigar/cigar.hpp>
* instead.
*/

#pragma once

#include <seqan3/alphabet/cigar/cigar.hpp>

namespace seqan3
{
//!\deprecated Please use seqan3::cigar::operation instead.
using cigar_op SEQAN3_DEPRECATED_310 = seqan3::cigar::operation;
} // namespace seqan3

SEQAN3_DEPRECATED_HEADER(
"This header is deprecated and will be removed in SeqAn-3.1.0; Please #include <seqan3/alphabet/cigar/cigar.hpp> instead.")