Skip to content
Snippets Groups Projects
Commit 0997bfe6 authored by Tobias Schmidt's avatar Tobias Schmidt
Browse files

fixed CHARMM dialect PDBWriter (BZDNG-275)

parent e75cdf02
Branches
Tags
No related merge requests found
......@@ -92,7 +92,7 @@ void write_atom(std::ostream& ostr, FormattedLine& line,
"' is too long for CHARMM-PDB output. At most 4 "
"characters are allowed");
}
line(17, 4)=fmt::LPadded(res.GetKey());
line(17, 4)=fmt::RPadded(res.GetKey());
} else {
if (res.GetKey().size()>3) {
throw IOException("Residue name '"+res.GetName()+
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment