Skip to content

Commit 8c5354a

Browse files
dweindlm-philipps
andauthored
Apply suggestions from code review
Co-authored-by: Maren Philipps <55318391+m-philipps@users.noreply.github.com>
1 parent b5c8dd0 commit 8c5354a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

petab/v1/models/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def from_file(
2828
2929
:param filepath_or_buffer:
3030
Absolute or relative path/URL to the model file.
31-
If relative, it is interpreted relative to `base_path` if given.
31+
If relative, it is interpreted relative to `base_path`, if given.
3232
:param base_path: Base path for relative paths in the model file.
3333
:param model_id: Model ID
3434
:returns: A ``Model`` instance holding the given model

petab/v2/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ def to_files(self, base_path: str | Path | None) -> None:
13991399
14001400
Writes the model, condition, experiment, measurement, parameter,
14011401
observable, and mapping tables to their respective files as specified
1402-
in the respective objects.
1402+
by the `rel_path` and `base_path` of their respective objects.
14031403
14041404
This expects that all objects have their `rel_path` and `base_path`
14051405
set correctly, which is usually done by Problem.from_yaml().

0 commit comments

Comments
 (0)