Re: [AMBER-Developers] ambpdb -aatm prints nulls in output PDB

From: Ben Roberts <>
Date: Fri, 12 Feb 2010 18:34:07 -0500

Hi Tom,

Thanks for the report.

I've committed a patch that sets "element" to " " in the aatm case. I
thought that might be safer, as it ensures that the lines are the same
length, and we don't risk failing to print the element info in cases
where it is defined.

I hope that's satisfactory. Let us know if more problems arise.


Tom Joseph wrote:
> The output of ambpdb -aatm contains null characters that can confuse
> leap and other tools. This is because the "element" variable in
> ambpdb.f90 is never set when -aatm is specified but it is printed
> anyway. The patch below fixes the problem by not printing the element
> field when -aatm is specified.
> Thanks,
> --Tom

AMBER-Developers mailing list
Received on Fri Feb 12 2010 - 16:00:02 PST
Custom Search