Skip to content

Commit 6605b7b

Browse files
Update condition
1 parent ec0b30b commit 6605b7b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmethods/core.py

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ def adjust(
169169
obs_group = group["obs"]
170170
simh_group = group["simh"]
171171
simp_group = group["simp"]
172+
else:
173+
raise ValueError("'group' must be a string or a dict!")
172174

173175
del kwargs["group"]
174176

0 commit comments

Comments
 (0)