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

Fix wrong config length length store when using agc append to create the arc database. #18

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/core/agc_compressor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1790,8 +1790,6 @@ bool CAGCCompressor::Append(const string& _in_archive_fn, const string& _out_arc
concatenated_genomes = _concatenated_genomes;
adaptive_compression = _adaptive_compression;

min_match_len = compression_params.min_match_len;
uint32_t segment_size = compression_params.segment_size;
verbosity = _verbosity;

if (!load_file_type_info(in_archive_name))
Expand All @@ -1801,6 +1799,10 @@ bool CAGCCompressor::Append(const string& _in_archive_fn, const string& _out_arc

if (!load_metadata())
return false;

min_match_len = compression_params.min_match_len;
uint32_t segment_size = compression_params.segment_size;

working_mode = working_mode_t::appending;

out_archive = make_shared<CArchive>(false, 32 << 20);
Expand Down