Skip to content
Snippets Groups Projects
Commit 5ad3bb38 authored by Bienchen's avatar Bienchen
Browse files

Fixed copying atoms in PDBize: for the elment name, the atom name attribute was used.

parent a0044fbe
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ bool copy_atoms(ResidueView src_res, ResidueHandle dst_res, XCSEditor& edi, ...@@ -45,7 +45,7 @@ bool copy_atoms(ResidueView src_res, ResidueHandle dst_res, XCSEditor& edi,
AtomHandle new_atom = edi.InsertAtom(dst_res, i->GetName(), AtomHandle new_atom = edi.InsertAtom(dst_res, i->GetName(),
geom::Vec3(transform*i->GetPos()), geom::Vec3(transform*i->GetPos()),
i->GetName(), i->GetOccupancy(), i->GetElement(), i->GetOccupancy(),
i->GetBFactor(), i->IsHetAtom()); i->GetBFactor(), i->IsHetAtom());
geom::Vec3 pos = new_atom.GetPos(); geom::Vec3 pos = new_atom.GetPos();
for (int j = 0; j<3; ++j) { for (int j = 0; j<3; ++j) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment