This commit is contained in:
Zengtudor 2024-09-19 10:32:11 +08:00
parent 35ad09392f
commit 3680b72195
1 changed files with 2 additions and 2 deletions

View File

@ -78,10 +78,10 @@ int main()
while (input_file_stream.getline(buf.data(),MAX_SIZE,'\n'))
{
auto m = lines%=2; //防止溢出
lines%=2; //防止溢出
const auto buf_len = strlen(buf.data());
const std::string_view suffix("\n"); //设置一个每个DNA序列结尾的字符这里是以\n换行来结尾
if (m == 1){
if (lines == 1){
// output_file_stream << reverseComplement(buf) << endl;
reverseComplement(buf,buf_len);
}