Skip to content

Commit

Permalink
Merge pull request #1763 from pyiron/debug_database
Browse files Browse the repository at this point in the history
[bug]: Fix database issue
  • Loading branch information
jan-janssen authored Feb 18, 2025
2 parents 8da9efd + a1ac81e commit e7a3921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyiron_base/database/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ def get_items_dict(
# here we wrap the given values in an sqlalchemy-type or_statement
part_of_statement = [or_(*or_statement)]
else:
if "%" not in value:
if "%" not in str(value):
part_of_statement = [self.simulation_table.c[str(key)] == value]
else:
part_of_statement = [self.simulation_table.c[str(key)].like(value)]
Expand Down

0 comments on commit e7a3921

Please sign in to comment.