Skip to content
Snippets Groups Projects
Commit 464d16cc authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: info level logging displays the correct data

All counts were reset to 0 by a call to NextMolecule(). Now we are
displaying the data straight from the entity. Assumes an empty
entity at the start.
parent 11240437
Branches
Tags
No related merge requests found
......@@ -113,9 +113,11 @@ void SDFReader::Import(mol::EntityHandle& ent)
ProcessV3000Line(line, ent, editor);
}
}
LOG_INFO("imported " << chain_count_ << " chains, " << residue_count_
<< " residues, " << atom_count_ << " atoms");
LOG_INFO("imported "
<< ent.GetChainCount() << " chains, "
<< ent.GetResidueCount() << " residues, "
<< ent.GetAtomCount() << " atoms and "
<< ent.GetBondCount() << " bonds");
}
void SDFReader::ClearState(const boost::filesystem::path& loc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment