bool NGSD::removeColumnIfPresent(VariantList& variants, QString name, bool exact_name_match) { int index = variants.annotationIndexByName(name, exact_name_match, false); if (index==-1) return false; variants.removeAnnotation(index); return true; }