Skip to content

Commit

Permalink
replace deprecated function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 15, 2025
1 parent 86022bd commit 1eecf62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ void stripCifFile(const std::string &af_id, std::set<std::string> requestedAsyms
for (const auto &[asymID, entityID] : struct_asym.rows<std::string,std::string>("id", "entity_id"))
{
// check if this is a nonpoly entity
if (entity_poly.exists("entity_id"_key == entityID))
if (entity_poly.contains("entity_id"_key == entityID))
continue;

existingAsyms.insert(asymID);
Expand Down

0 comments on commit 1eecf62

Please sign in to comment.