Skip to content

Commit bf15ea6

Browse files
foleyjpgouriano
authored andcommitted
JIRA: RW-2383 Bug fix
git-svn-id: https://anonsvn.ncbi.nlm.nih.gov/repos/v1/trunk/c++@103506 78c7ea69-d796-4a43-9a09-de51944f1b03
1 parent 1bd9d01 commit bf15ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/objtools/cleanup/cleanup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1933,7 +1933,7 @@ bool CCleanup::RemoveNcbiCleanupObject(CSeq_entry &seq_entry)
19331933
if (seq_entry.IsSetDescr()) {
19341934
rval = RemoveNcbiCleanupObject(seq_entry.SetDescr());
19351935
if (rval && seq_entry.GetDescr().Get().empty()) {
1936-
if (seq_entry.IsSet()) {
1936+
if (seq_entry.IsSeq()) {
19371937
seq_entry.SetSeq().ResetDescr();
19381938
}
19391939
else if (seq_entry.IsSet()) {

0 commit comments

Comments
 (0)