From: | | [log in to unmask][log in to unmask], 12 Oct 2009 14:14:30 -0400823_ISO-8859-1 Paul,
I just looked at the source code for "reduce." It seems there is a global variable that gets returned from main(), ReturnCodeGlobal, which is set to 0 by default. However, further down in the code is this (in the "processPDBfile" function):
// adjust cliques
std::list< std::list<MoverPtr> > cc_list = clst.cliques(); //cerr << "start: " << cc_list.size() << endl; for (std::list< std::list<MoverPtr> >::iterator cc = cc_list.begin(); cc != cc_list.end(); ++cc) { //cerr << "start2" << endl; int nscnt = xyz.orientClique(*cc, ExhaustiveLimit); if (nscnt > 0) { Tally._num_adj += nscnt; } else { // too many permutations, make note ReturnCodeGlobal = [...]48_12Oct200914:14:[log in to unmask] |