Skip to content

Commit 277f502

Browse files
committed
Refactor v2.*Tables
DRY
1 parent d140230 commit 277f502

File tree

4 files changed

+181
-269
lines changed

4 files changed

+181
-269
lines changed

doc/modules.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,4 @@ API Reference
3737
petab.v2.experiments
3838
petab.v2.lint
3939
petab.v2.models
40-
petab.v2.problem
4140
petab.v2.petab1to2

petab/v2/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def _add_indicators_to_conditions(self) -> None:
401401
# removed. Only keep the conditions setting our indicators.
402402
problem.condition_tables = [
403403
ConditionTable(
404-
conditions=[
404+
[
405405
condition
406406
for condition in problem.conditions
407407
if condition.id.startswith("_petab")

0 commit comments

Comments
 (0)