Skip to content

Commit

Permalink
Fixes for dictionary loading
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 28, 2025
1 parent 05865c3 commit 6750194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ compound *local_compound_factory_impl::create(const std::string &id)

for (auto &db : m_local_file)
{
if (db.name() == "comp_" + id)
if (db.name() == id)
{
auto chem_comp = db.get("chem_comp");
if (not chem_comp)
Expand Down

0 comments on commit 6750194

Please sign in to comment.