Closed sskagemo closed 4 years ago
Thanks a lot for reporting this. New patch-release resolves the issue.
Note that there are subtle differences related to different ways of removing items from a list. My test uses
# Remove second item
del catalog.services[1]
See also this discussion: https://stackoverflow.com/questions/11520492/difference-between-del-remove-and-pop-on-lists/11520540
Added a DataService to a catalog as a Dataset, instead of as a DataService. Tried to remove it using the remove()-method. No changes to the catalog.
Below is the turtle-output, which is identical before and after using remove: