Commit e3923f46 by Maarten L. Hekkelman

better progress

parent a61362cf
...@@ -1562,7 +1562,7 @@ void DSSP_impl::calculateSecondaryStructure() ...@@ -1562,7 +1562,7 @@ void DSSP_impl::calculateSecondaryStructure()
std::unique_ptr<cif::progress_bar> progress; std::unique_ptr<cif::progress_bar> progress;
if (cif::VERBOSE == 0 or cif::VERBOSE == 1) if (cif::VERBOSE == 0 or cif::VERBOSE == 1)
progress.reset(new cif::progress_bar((mResidues.size() * (mResidues.size() - 1)), "calculate distances")); progress.reset(new cif::progress_bar((mResidues.size() * (mResidues.size() - 1)) / 2, "calculate distances"));
// Calculate the HBond energies // Calculate the HBond energies
std::vector<std::tuple<uint32_t,uint32_t>> near; std::vector<std::tuple<uint32_t,uint32_t>> near;
......
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