Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/sdist/amici/importers/sbml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2714,7 +2714,7 @@ def _clean_reserved_symbols(self) -> None:
if old_symbol in symbols:
# reconstitute the whole dict in order to keep the ordering
self.symbols[symbols_ids] = {
new_symbol if k is old_symbol else k: v
new_symbol if k == old_symbol else k: v
for k, v in symbols.items()
}

Expand Down
Loading