std::string message = formatString(
"Cannot group selection '%s' into %s, because some "
"positions have atoms from more than one such group.",
- name(), type == INDEX_MOL ? "molecules" : "residues");
+ name(),
+ type == INDEX_MOL ? "molecules" : "residues");
GMX_THROW(InconsistentInputError(message));
}
}
void Selection::printInfo(FILE* fp) const
{
- fprintf(fp, "\"%s\" (%d position%s, %d atom%s%s)", name(), posCount(), posCount() == 1 ? "" : "s",
- atomCount(), atomCount() == 1 ? "" : "s", isDynamic() ? ", dynamic" : "");
+ fprintf(fp,
+ "\"%s\" (%d position%s, %d atom%s%s)",
+ name(),
+ posCount(),
+ posCount() == 1 ? "" : "s",
+ atomCount(),
+ atomCount() == 1 ? "" : "s",
+ isDynamic() ? ", dynamic" : "");
fprintf(fp, "\n");
}