Skip to content

Commit e107c0a

Browse files
authored
Replace assert with direct call for table validation (#651)
1 parent 27728a1 commit e107c0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/spatialdata_plot/pl/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,7 @@ def _ensure_table_and_layer_exist_in_sdata(
25772577

25782578
return True # not using any table
25792579

2580-
assert _ensure_table_and_layer_exist_in_sdata(param_dict.get("sdata"), table_name, table_layer)
2580+
_ensure_table_and_layer_exist_in_sdata(param_dict.get("sdata"), table_name, table_layer)
25812581

25822582
method = param_dict.get("method")
25832583
if method not in ["matplotlib", "datashader", None]:

0 commit comments

Comments
 (0)