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

if read_seqres is false, don't even look at SEQRES records

parent 81e9e309
No related branches found
No related tags found
No related merge requests found
...@@ -303,7 +303,9 @@ void PDBReader::Import(mol::EntityHandle& ent, ...@@ -303,7 +303,9 @@ void PDBReader::Import(mol::EntityHandle& ent,
} }
} }
if (IEquals(curr_line.substr(0, 6), StringRef("SEQRES", 6))) { if (IEquals(curr_line.substr(0, 6), StringRef("SEQRES", 6))) {
this->ParseSeqRes(curr_line, line_num_); if (read_seqres_) {
this->ParseSeqRes(curr_line, line_num_);
}
} }
break; break;
default: default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment