/* * dcresprint.c Jim Piper 10-09-86 * * Dicentric finding system - print out results * * The input parameters are the "chromcands" structure for the current object, * the number of objects, and the stream to which printing is sent. */ #include #include #include dcresprint(chc,number,pf) struct chromcands *chc; FILE *pf; { int i; for (i=0; ibtype&DICENTRIC) { if (chc->Cbtype&DICENTRIC) { if (chc->Cbtype & UNSHURE) fprintf(pf,"UNSURE DICENTRIC: %d\n",chc->number); else fprintf(pf,"TRUE DICENTRIC: %d\n",chc->number); } else if (chc->Cbtype&CROSSARMS) fprintf(pf,"FALSE DICENTRIC (crossed arms): %d\n",chc->number); else if (chc->Cotype == 2 || chc->Cotype == 3) fprintf(pf,"FALSE DICENTRIC (true composite missed): %d\n",chc->number); else fprintf(pf,"FALSE DICENTRIC (no excuse): %d\n",chc->number); } else { if (chc->Cbtype&DICENTRIC) { if (chc->Cbtype&UNSHURE) fprintf(pf,"UNSURE DICENTRIC NOT DETECTED: %d\n",chc->number); else if (chc->Cbtype & ACROCENTRIC) fprintf(pf,"MISSED ACROCENTRIC DICENTRIC: %d\n",chc->number); else fprintf(pf,"MISSED DICENTRIC (%d candidates): %d\n",chc->ncands,chc->number); } } } }