You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (opt.remove_colorClasses && !opt.keep_colorclasses) {
for (auto &f : mantis::fs::GetFilesExt(opt.prefix.c_str(), mantis::EQCLASS_FILE)) {
std::cerr << f.c_str() << "\n";
if (std::remove(f.c_str()) != 0) {
std::cerr << "Unable to delete file " << f << "\n";
std::exit(1);
}
}
}
mantis build doesn't have an option to toggle this behavior.
Changing qopt.remove_colorClasses = true; to qopt.remove_colorClasses = false; here, fixes the issue:
I tried loading the first block 0 at the begin of findSamples and just passing the keybits as an extra parameter.
But then there is an out-of-bounds access at
Hey there,
While using the
mergeMSTs
branch, I ran into some trouble withmst
andquery
.mst
mantis mst
doesn't seem to work.It wants to load
eqclass_rr.cls
files:mantis/src/mst.cc
Lines 33 to 34 in 7406e8f
This will later lead to a segmentation fault because the files do not exist.
mantis build
will always deleteeqclass_rr.cls
files at the end:mantis/src/mst.cc
Lines 729 to 737 in 7406e8f
mantis build
doesn't have an option to toggle this behavior.Changing
qopt.remove_colorClasses = true;
toqopt.remove_colorClasses = false;
here, fixes the issue:mantis/src/mantis.cc
Line 308 in 7406e8f
query
The default non-bulk query only works if the
eqclass_rr.cls
files are present and-1
is used:To have
eqclass_rr.cls
files, the above fix is needed, andmst
must have been run with-k
.Alternatively, bulk-mode (
-b
) works without theeqclass_rr.cls
files. So,mst
can also be run with-d
.The problem in non-bulk query seems to be that
findSamples
is called for every query sequence:mantis/src/mstQuery.cc
Lines 492 to 498 in 7406e8f
The function then accesses
cdbg.get_current_cqf()->keybits()
:mantis/src/mstQuery.cc
Line 132 in 7406e8f
This works fine for the first query, but for the second one there is no CQF to access because it has been replaced with
an invalid one:
mantis/src/mstQuery.cc
Line 181 in 7406e8f
I tried loading the first block
0
at the begin offindSamples
and just passing thekeybits
as an extra parameter.But then there is an out-of-bounds access at
mantis/src/mstQuery.cc
Line 254 in 7406e8f
The text was updated successfully, but these errors were encountered: