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

[MISC] Rename {core->utlity}/char_operations/predicate.hpp. #2254

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

smehringer
Copy link
Member

@smehringer smehringer commented Nov 11, 2020

Part of seqan/product_backlog#160

Header File: {core->utlity}/char_operations/predicate.hpp.

Note this is only one header file, since it already touches a lot of code, I kept them separate.

  • copy the header to the correct place
  • shortly check if all header includes are correct: remove unused, order alphabetically, put seqan3/std/* headers to the top
  • possibly rename the header
  • deprecate old header with header deprecation macro
  • deprecate old header doxygen file section: add [DEPRECATED] at begin of brief and add \deprecated This header is deprecated and will be removed in SeqAn-3.1.0;. Please #include instead. tag.
  • move all related tests, snippets etc to match new folder structure
  • run all tests to see if nothing depends on old header anymore
  • live happily ever after

@codecov
Copy link

codecov bot commented Nov 11, 2020

Codecov Report

Merging #2254 (18e9deb) into master (8a7e498) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2254   +/-   ##
=======================================
  Coverage   98.15%   98.15%           
=======================================
  Files         262      262           
  Lines       10815    10815           
=======================================
  Hits        10616    10616           
  Misses        199      199           
Impacted Files Coverage Δ
include/seqan3/alphabet/mask/masked.hpp 100.00% <ø> (ø)
include/seqan3/argument_parser/argument_parser.hpp 98.78% <ø> (ø)
...ude/seqan3/argument_parser/detail/format_parse.hpp 96.80% <ø> (ø)
include/seqan3/io/alignment_file/format_bam.hpp 95.58% <ø> (ø)
include/seqan3/io/alignment_file/format_sam.hpp 98.13% <ø> (ø)
...clude/seqan3/io/alignment_file/format_sam_base.hpp 98.74% <ø> (ø)
...de/seqan3/io/alignment_file/sam_tag_dictionary.hpp 100.00% <ø> (ø)
include/seqan3/io/sequence_file/format_embl.hpp 100.00% <ø> (ø)
include/seqan3/io/sequence_file/format_fasta.hpp 98.78% <ø> (ø)
include/seqan3/io/sequence_file/format_fastq.hpp 100.00% <ø> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a7e498...18e9deb. Read the comment docs.

@smehringer smehringer requested review from a team, simonsasse and MitraDarja and removed request for a team and simonsasse November 11, 2020 14:17
@MitraDarja MitraDarja requested review from a team and rrahn and removed request for a team November 12, 2020 12:22
@smehringer smehringer force-pushed the utility_renaming branch 2 times, most recently from 77abf68 to d07d9ec Compare November 17, 2020 09:01
@smehringer
Copy link
Member Author

@rrahn polite ping :)

Comment on lines 32 to 33
#include <seqan3/utility/char_operations/predicate.hpp>
#include <seqan3/core/detail/test_accessor.hpp>
#include <seqan3/io/stream/concept.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -21,7 +21,7 @@
#include <seqan3/alphabet/detail/convert.hpp>
#include <seqan3/alphabet/nucleotide/sam_dna16.hpp>
#include <seqan3/core/bit_manipulation.hpp>
#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -19,7 +19,7 @@
#include <string>
#include <vector>

#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -20,7 +20,7 @@
#include <string>
#include <vector>

#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -15,7 +15,7 @@
#include <map>
#include <variant>

#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -6,7 +6,7 @@
// -----------------------------------------------------------------------------------------------------

#include <seqan3/alphabet/nucleotide/rna5.hpp>
#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -6,7 +6,7 @@
// -----------------------------------------------------------------------------------------------------

#include <seqan3/alphabet/nucleotide/sam_dna16.hpp>
#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -12,7 +12,7 @@
#include <seqan3/std/ranges>

#include <seqan3/alphabet/nucleotide/dna5.hpp>
#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -12,7 +12,7 @@
#include <range/v3/algorithm/copy.hpp>
#include <range/v3/view/unique.hpp>

#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@@ -14,7 +14,7 @@
#include <seqan3/alphabet/nucleotide/dna4.hpp>
#include <seqan3/alphabet/nucleotide/dna5.hpp>
#include <seqan3/alphabet/nucleotide/rna5.hpp>
#include <seqan3/core/char_operations/predicate.hpp>
#include <seqan3/utility/char_operations/predicate.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include order

@smehringer smehringer requested a review from rrahn November 18, 2020 08:39
Comment on lines 3 to 7
#include <seqan3/core/char_operations/predicate.hpp> // for is_char
#include <seqan3/core/debug_stream.hpp> // for debug_stream
#include <seqan3/range/views/single_pass_input.hpp> // for views::single_pass_input
#include <seqan3/range/views/take_until.hpp> // for views::take_until*
#include <seqan3/std/ranges> // for std::views::reverse
#include <seqan3/utility/char_operations/predicate.hpp> // for is_char
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, either align them or remove the alignment.

@rrahn rrahn self-requested a review November 23, 2020 11:05
@smehringer smehringer merged commit b6e8e19 into seqan:master Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants