Commit 4112306a by Maarten L. Hekkelman

progress bar in beta sheets

parent 805bfa2f
...@@ -877,6 +877,10 @@ void CalculateBetaSheets(std::vector<residue> &inResidues, statistics &stats) ...@@ -877,6 +877,10 @@ void CalculateBetaSheets(std::vector<residue> &inResidues, statistics &stats)
// Calculate Bridges // Calculate Bridges
std::vector<bridge> bridges; std::vector<bridge> bridges;
std::unique_ptr<cif::progress_bar> progress;
if (cif::VERBOSE == 0)
progress.reset(new cif::progress_bar(((inResidues.size() - 5) * (inResidues.size() - 4) / 2), "calculate beta sheets"));
for (uint32_t i = 1; i + 4 < inResidues.size(); ++i) for (uint32_t i = 1; i + 4 < inResidues.size(); ++i)
{ {
auto &ri = inResidues[i]; auto &ri = inResidues[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment