Skip to content

Commit 4472a64

Browse files
committed
ruff
1 parent 614185a commit 4472a64

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

petab_select/model.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -570,9 +570,9 @@ def to_petab(
570570
elif parameter_id in petab_problem.x_free_ids:
571571
required_estimates.add(parameter_id)
572572

573-
missing_estimates = sorted(required_estimates.difference(
574-
self.estimated_parameters
575-
))
573+
missing_estimates = sorted(
574+
required_estimates.difference(self.estimated_parameters)
575+
)
576576
if missing_estimates:
577577
raise ValueError(
578578
"Try again with `set_estimated_parameters=False`, because "
@@ -592,9 +592,11 @@ def to_petab(
592592
)
593593

594594
if set_estimated_parameters:
595-
petab_problem.parameter_df.update({
596-
NOMINAL_VALUE: self.estimated_parameters,
597-
})
595+
petab_problem.parameter_df.update(
596+
{
597+
NOMINAL_VALUE: self.estimated_parameters,
598+
}
599+
)
598600

599601
petab_yaml = None
600602
if output_path is not None:

0 commit comments

Comments
 (0)