Skip to content

Commit

Permalink
PD-5191 bug in --debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyacheslav Brover committed Dec 14, 2024
1 parent 52fb71b commit fc3dab3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ string getStack ()
char** strings = backtrace_symbols (buffer, nptrs);
if (strings /*&& ! which ("addr2line"). empty ()*/)
{
FOR_REV_END (int, i, 1, nptrs)
FOR_START /*FOR_REV_END*/ (int, i, 1, nptrs) // From top to bottom of the stack
s += string (strings [i]) + "\n";
s += "Use: addr2line -f -C -e " + programArgs [0] + " -a <address>";
//free (strings);
Expand Down
9 changes: 5 additions & 4 deletions stxtyper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
* Dependencies: NCBI BLAST, gunzip (optional)
*
* Release changes:
* 1.0.30 12/14/2024 Bug in --debug
* PD-5191 strong operons should not be partial
* --threads: reduces time by 30% for large input DNA
* Bug in frame shifts detection (for multiple frame shifts in the same protein)
* 1.0.29 12/12/2024 PD-5192 Only operons with >= 80% identity are reported // Only BLAST HSPs with identity >= 80% are considered
* 1.0.29 12/13/2024 PD-5192 Only operons with >= 80% identity are reported // Only BLAST HSPs with identity >= 80% are considered
* 1.0.28 12/03/2024 tblastn -gapextend 2
* 10/30/2024 colorizeDir()
* 1.0.27 10/23/2024 PD-5155 "Hierarchy node" with mixed types is <stx1>::<stx2>
Expand Down Expand Up @@ -288,7 +289,7 @@ struct BlastAlignment
QC_ASSERT (refEnd - refStart <= length);
}
QC_ASSERT (! targetName. empty ());
QC_ASSERT (between<size_t> (frame, 1, 3));
QC_ASSERT (between<size_t> (frame, 1, 3 + 1));
QC_ASSERT (contains (stxClass2identity, stxClass));
QC_ASSERT (isLeft (stxType, stxClass));
QC_ASSERT (subunit == 'A' || subunit == 'B');
Expand Down Expand Up @@ -515,7 +516,7 @@ struct Operon
const BlastAlignment* al1 {nullptr};
// !nullptr
const BlastAlignment* al2 {nullptr};
// al1->targetEnd < al2->targetStart
// al1->targetEnd <= al2->targetStart


Operon () = default;
Expand All @@ -538,7 +539,7 @@ struct Operon
al2->qc ();
QC_ASSERT (al1->targetName == al2->targetName);
QC_ASSERT (al1->targetStrand == al2->targetStrand);
QC_ASSERT (al1->targetEnd < al2->targetStart);
QC_ASSERT (al1->targetEnd <= al2->targetStart);
QC_ASSERT (al1->subunit != al2->subunit);
QC_ASSERT (al2->reported);
}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.29
1.0.30

0 comments on commit fc3dab3

Please sign in to comment.