Skip to content
Snippets Groups Projects
Commit 5c177292 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix GetQualifiedName for empty chain names

parent 268f5c27
Branches
Tags
No related merge requests found
......@@ -390,7 +390,7 @@ void ResidueImpl::DeleteAllAtoms() {
String ResidueImpl::GetQualifiedName() const {
String chain_name=this->GetChain()->GetName();
return (chain_name==" " ? "" : chain_name+".")+
return ((chain_name==" " || chain_name=="") ? "" : chain_name+".")+
this->GetKey()+
this->GetNumber().AsString();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment