Skip to content

Commit 949d322

Browse files
committed
set diff
1 parent 00c5055 commit 949d322

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

petab/v2/lint.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -771,11 +771,7 @@ def append_overrides(overrides):
771771
)
772772

773773
# parameters that are overridden via the condition table are not allowed
774-
for p in problem.condition_df[TARGET_ID].unique():
775-
try:
776-
parameter_ids.remove(p)
777-
except KeyError:
778-
pass
774+
parameter_ids -= set(problem.condition_df[TARGET_ID].unique())
779775

780776
return parameter_ids
781777

0 commit comments

Comments
 (0)