Skip to content

Commit ad3fa31

Browse files
committed
Fix deletion of categories
1 parent eabec37 commit ad3fa31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/biotite/structure/io/pdbx

src/biotite/structure/io/pdbx/bcif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def __setitem__(self, key, element):
511511

512512
def __delitem__(self, key):
513513
try:
514-
return super().__setitem__("_" + key)
514+
return super().__delitem__("_" + key)
515515
except KeyError:
516516
raise KeyError(key)
517517

0 commit comments

Comments
 (0)