Skip to content
Snippets Groups Projects
Commit 39d8d180 authored by Bienchen's avatar Bienchen
Browse files

MMCifParser: Removed inscode.

parent 3e1dc6d2
Branches
Tags
No related merge requests found
......@@ -129,7 +129,6 @@ bool MMCifParser::OnBeginLoop(const StarLoopDesc& header)
this->TryStoreIdx(CARTN_Y, "Cartn_y", header);
this->TryStoreIdx(CARTN_Z, "Cartn_z", header);
// optional
indices_[PDBX_PDB_INS_CODE] = header.GetIndex("pdbx_PDB_ins_code");
indices_[OCCUPANCY] = header.GetIndex("occupancy");
indices_[B_ISO_OR_EQUIV] = header.GetIndex("B_iso_or_equiv");
indices_[GROUP_PDB] = header.GetIndex("group_PDB");
......@@ -201,12 +200,7 @@ bool MMCifParser::ParseAtomIdent(const std::vector<StringRef>& columns,
}
}
if (indices_[PDBX_PDB_INS_CODE] != -1) { // unit test
resnum=to_res_num(res_num.second, columns[indices_[PDBX_PDB_INS_CODE]][0]);
}
else {
resnum=to_res_num(res_num.second, ' ');
}
resnum=to_res_num(res_num.second, ' ');
return true;
}
......
......@@ -170,7 +170,6 @@ private:
CARTN_X, ///< Coordinates ||IMPORTANT: This 3 entries have to stay
CARTN_Y, ///< Coordinates ||together for the parser to work!
CARTN_Z, ///< Coordinates ||
PDBX_PDB_INS_CODE,
OCCUPANCY,
B_ISO_OR_EQUIV,
GROUP_PDB ///< record name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment