Skip to content
Snippets Groups Projects
Commit fd55ecfd authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: remove error when comparing different roles

parent 33af590b
No related branches found
No related tags found
2 merge requests!189ENH: add convenience functions,!185High level API serialization
Pipeline #48555 passed with warnings
......@@ -215,9 +215,9 @@ def compare_entities(old_entity: Entity, new_entity: Entity, compare_referenced_
if old_entity is new_entity:
return (olddiff, newdiff)
if type(old_entity) is not type(new_entity):
raise ValueError(
"Comparison of different Entity types is not supported.")
#if type(old_entity) is not type(new_entity):
# raise ValueError(
# "Comparison of different Entity types is not supported.")
for attr in SPECIAL_ATTRIBUTES:
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment