iqbal-lab / Mykrobe-predictor

Antibiotic resistance predictions in minutes on a laptop
Other
50 stars 19 forks source link

Record all variants found, rather than the first in the for loop. #17

Closed Phelimb closed 9 years ago

Phelimb commented 9 years ago
  if ( (I==Resistant) || (I==MixedInfection) ) 
{
  update_called_variants(called_variants,i,abi->vars[i]);
  return I;
}

This breaks the loop through all variants if it hits one, so we only ever say we see one variant when, in fact, there may be more than one there.

iqbal-lab commented 9 years ago

I suggest we don't do this til after submission.

iqbal-lab commented 9 years ago

This is done I believe