From 87471c10d1d7a68bcd61e00b91e52654ac8c11b4 Mon Sep 17 00:00:00 2001 From: Berk Hess Date: Thu, 12 Aug 2010 13:33:40 +0200 Subject: [PATCH] made the pdb2gmx occupancy warning more obvious --- src/kernel/pdb2gmx.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/kernel/pdb2gmx.c b/src/kernel/pdb2gmx.c index f0a00dd749..4afaa661b1 100644 --- a/src/kernel/pdb2gmx.c +++ b/src/kernel/pdb2gmx.c @@ -381,9 +381,11 @@ static void check_occupancy(t_atoms *atoms,const char *filename,bool bVerbose) fprintf(stderr,"All occupancy fields zero. This is probably not an X-Ray structure\n"); } else if ((nzero > 0) || (nnotone > 0)) { fprintf(stderr, - "WARNING: there were %d atoms with zero occupancy and %d atoms" - " with\n occupancy unequal to one (out of %d atoms)." - " Check your pdb file.\n",nzero,nnotone,atoms->nr); + "\n" + "WARNING: there were %d atoms with zero occupancy and %d atoms with\n" + " occupancy unequal to one (out of %d atoms). Check your pdb file.\n" + "\n", + nzero,nnotone,atoms->nr); } else { fprintf(stderr,"All occupancies are one\n"); } -- 2.11.4.GIT