Skip to content

Commit 33e3979

Browse files
#1282 SMARTS load/save errors in Indigo.
Fix UT
1 parent 460ac38 commit 33e3979

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

core/indigo-core/molecule/src/query_molecule.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1203,7 +1203,6 @@ bool QueryMolecule::Node::hasOP_OR()
12031203
return true;
12041204
}
12051205
case OP_NOT:
1206-
// return children[0]->hasOP_OR();
12071206
return false;
12081207
default:
12091208
return false;

core/indigo-core/molecule/src/smiles_saver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,6 @@ void SmilesSaver::_writeSmartsBond(int idx, QueryMolecule::Bond* bond, bool has_
11881188
{
11891189
if (i > 0)
11901190
writeAnd(_output, bond, has_or_parent);
1191-
//_output.writeChar(has_or_parent ? '&' : ';');
11921191
_writeSmartsBond(idx, (QueryMolecule::Bond*)bond->children[i], has_or_parent);
11931192
}
11941193
break;

0 commit comments

Comments
 (0)