Skip to content

Commit 6750194

Browse files
committed
Fixes for dictionary loading
1 parent 05865c3 commit 6750194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ compound *local_compound_factory_impl::create(const std::string &id)
492492

493493
for (auto &db : m_local_file)
494494
{
495-
if (db.name() == "comp_" + id)
495+
if (db.name() == id)
496496
{
497497
auto chem_comp = db.get("chem_comp");
498498
if (not chem_comp)

0 commit comments

Comments
 (0)