Skip to content

Commit

Permalink
Merge pull request #4 from RuleWorld/issue3
Browse files Browse the repository at this point in the history
Continuing instead of returning failure when template cannot map to one of the symmetric components
  • Loading branch information
jjtapia committed Jul 17, 2015
2 parents 4e516d8 + a730222 commit 8be6706
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NFcore/templateMolecule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,8 @@ bool TemplateMolecule::compare(Molecule *m, ReactantContainer *rc, MappingSet *m
if(!match) { continue; } //keep going if we can't match
} else {
//cout<<"could not map other side!"<<endl;
clear(); return false;
//clear(); return false;
continue;
}
} else { //Phew! we can check this guy normally.

Expand Down

0 comments on commit 8be6706

Please sign in to comment.